feat: let builder use caller or platform llm
All checks were successful
build / build (push) Successful in 23s
All checks were successful
build / build (push) Successful in 23s
This commit is contained in:
@@ -24,8 +24,10 @@ Use `A2AAgent` class attributes for runtime and marketplace behavior:
|
||||
For generated/user-owned agents that call an LLM, default to
|
||||
`LLMProvisioning.CALLER_PROVIDED` with `Pricing(..., caller_pays_llm=True, ...)`.
|
||||
Use `LLMProvisioning.PLATFORM` only when the user explicitly wants
|
||||
platform-paid LLM usage. In either mode, read `ctx.llm`; never read
|
||||
`A2A_LITELLM_KEY`, provider keys, or platform secrets directly.
|
||||
platform-paid LLM usage. Reserve `LLMProvisioning.PLATFORM_OR_CALLER_PROVIDED`
|
||||
for trusted platform/meta agents that must work with either the caller's
|
||||
selected creds or a platform fallback grant. In every mode, read `ctx.llm`;
|
||||
never read `A2A_LITELLM_KEY`, provider keys, or platform secrets directly.
|
||||
|
||||
Keep each `@skill` method `async`, put `RunContext[...]` immediately after
|
||||
`self`, and annotate every public argument. Do not use `*args` or `**kwargs`;
|
||||
|
||||
Reference in New Issue
Block a user