Skip to main content

ENRICH_MAX_TOKENS_CEILING

Constant ENRICH_MAX_TOKENS_CEILING 

Source
pub const ENRICH_MAX_TOKENS_CEILING: u32 = 16_384;
Expand description

Upper bound on max_tokens growth for an enrich chat-completion (GAP-SG-70/71).

Kept with margin under the ~32K-token context ceiling of deepseek/deepseek-v4-flash:nitro (see EMBEDDING_REQUEST_MAX_TOKENS for the equivalent embedding-side ceiling) so growth never requests a budget the model cannot honour.