Skip to main content

model_context_limit

Function model_context_limit 

Source
pub fn model_context_limit(model: &str) -> Option<u64>
Expand description

Look up a model’s context-window size by its full provider slug.