TaskBudget - Go SDK

TaskBudget type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Task budget for an agentic turn. The model sees a countdown of remaining tokens and uses it to prioritize work and wind down gracefully. Advisory — does not enforce a hard cap.

Fields

FieldTypeRequiredDescription
Remainingoptionalnullable.OptionalNullable[int64]N/A
Totalint64✔️N/A
Typecomponents.TypeTokens✔️N/A