DEFAULT_MAX_TOKENS

Constant DEFAULT_MAX_TOKENS 

Source
pub const DEFAULT_MAX_TOKENS: u64 = 4096;
Expand description

The max_tokens the adapter substitutes when the client did not send one. Anthropic requires the field; OpenAI clients usually omit it. 4096 is a conservative default that no provider rejects.