Skip to main content

FALLBACK_THINKING_BUDGET

Constant FALLBACK_THINKING_BUDGET 

Source
pub const FALLBACK_THINKING_BUDGET: u32 = 64;
Expand description

The budget sent when a model rejects a thinking budget of 0, such as gemini-3.5-flash-lite (“Request contains an invalid argument”). That model accepts budgets from 1, and below about 1024 it does not think at all, so this keeps thinking off at the smallest budget it accepts.