Skip to main content

Interface: TurnBudget

Defined in: src/server/ai/chat/types.ts:124

Properties

maxOutputTokens?

readonly optional maxOutputTokens?: number

Defined in: src/server/ai/chat/types.ts:127


maxToolRounds

readonly maxToolRounds: number

Defined in: src/server/ai/chat/types.ts:126

Max model rounds that may request tools. After this, tools are withheld to force a final answer.


wallClockMs?

readonly optional wallClockMs?: number

Defined in: src/server/ai/chat/types.ts:129

Soft wall-clock deadline; once exceeded, tools are withheld so the turn finishes before the platform kills it.