This commit is contained in:
@@ -62,6 +62,10 @@ keys directly. If the user explicitly asks for BYOK or caller-paid inference,
|
||||
use ``LLMProvisioning.CALLER_PROVIDED`` with ``caller_pays_llm=True`` and make
|
||||
missing ``ctx.llm.api_key`` a clear setup/config result before constructing
|
||||
``ChatOpenAI``.
|
||||
``Pricing`` accepts only ``price_per_call_usd``, ``caller_pays_llm``, and
|
||||
``notes``. Never set ``runtime.pricing.compute`` or
|
||||
``runtime.pricing.total_usd`` in generated source; those are derived later by
|
||||
the control plane/dashboard from declared ``Resources`` and billing policy.
|
||||
``LLMProvisioning.PLATFORM_OR_CALLER_PROVIDED`` is reserved for trusted
|
||||
platform/meta agents that should prefer caller-selected credentials and fall
|
||||
back to a scoped platform grant; do not use it for ordinary generated agents
|
||||
|
||||
Reference in New Issue
Block a user