This commit is contained in:
@@ -35,10 +35,9 @@ Check these items:
|
||||
only for trusted platform/meta agents and must also read `ctx.llm`.
|
||||
- Hosted generated/user agents should default to
|
||||
`llm_provisioning = LLMProvisioning.PLATFORM` and
|
||||
`Pricing(..., caller_pays_llm=False, ...)`. Use
|
||||
`LLMProvisioning.CALLER_PROVIDED` only when the user explicitly wants BYOK or
|
||||
caller-paid inference. In both modes, the code must use `ctx.llm` and never
|
||||
read LiteLLM/provider keys directly.
|
||||
`Pricing(..., caller_pays_llm=True, ...)`. `LLMProvisioning.CALLER_PROVIDED`
|
||||
is acceptable for explicit BYOK wording. In both modes, the code must use
|
||||
`ctx.llm` and never read LiteLLM/provider keys directly.
|
||||
- `Pricing` contains only `price_per_call_usd`, `caller_pays_llm`, and `notes`.
|
||||
Reject `runtime.pricing.compute`, `runtime.pricing.total_usd`, `compute=`, or
|
||||
`total_usd=` in `agent.py`; those are derived platform fields.
|
||||
|
||||
Reference in New Issue
Block a user