Skip to main content

Variable: DEFAULT_TURN_BUDGET

const DEFAULT_TURN_BUDGET: TurnBudget

Defined in: src/server/ai/chat/index.ts:20

Default per-turn budget. wallClockMs is set below the route's maxDuration so the loop forces a final answer (withholding tools) before the platform can kill the function mid-stream.