Skip to main content

base_model_info

Function base_model_info 

Source
pub fn base_model_info(config: &BaseModelConfig) -> ModelInfo
Expand description

The default Model::model_info for a configuration, before any provider facts: the shared model info for the model id, temporary_messages off, deferred_tool_loading as Stubs unless the shared info says Unsupported, the context_window_limit and the model_info override. A provider that overrides Model::model_info starts from it (see ModelInfo::merge).