ReqManagedAgents. Providers. ClaudeManagedAgents. Budget
(ReqManagedAgents v0.13.3)
Copy Markdown
View Source
Claude Managed Agents budget rendering and create-response confirmation.
Summary
Functions
Whether a decoded provider budget field carries exactly this budget.
Render the budget as the provider's create-session budget field.
Functions
@spec confirmed?(ReqManagedAgents.Budget.t(), term()) :: boolean()
Whether a decoded provider budget field carries exactly this budget.
Fields beyond the three the budget defines are ignored; a missing, nil or differing
value is not confirmation.
@spec to_wire(ReqManagedAgents.Budget.t()) :: map()
Render the budget as the provider's create-session budget field.
The amount is a whole-cent string, which is the provider's wire form.