Skip to main content

model_limit

Function model_limit 

Source
pub fn model_limit(base_url: Option<&str>, model: &str) -> Option<ModelLimit>
Expand description

Limits for model served from base_url, when we recognize the provider. None = unknown provider/model (the caller falls back to a default budget).