mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
14 lines
1.3 KiB
Plaintext
14 lines
1.3 KiB
Plaintext
---
|
|
title: "TaskBudget"
|
|
---
|
|
|
|
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
|
|
|
|
| Field | Type | Required | Description |
|
|
| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- |
|
|
| `remaining` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A |
|
|
| `total` | *int* | :heavy_check_mark: | N/A |
|
|
| `type` | [components.TypeTokens](../components/typetokens.mdx) | :heavy_check_mark: | N/A | |