Skip to main content

infer_provider_from_model

Function infer_provider_from_model 

Source
pub fn infer_provider_from_model(model: &str) -> Option<Provider>
Expand description

Infer provider from model slug.

Canonical implementation lives in vtcode-llm::factory_types (it needs no vtcode-core state); this re-export keeps the historical crate::llm::factory::infer_provider_from_model path stable. Infer provider from model slug using model resolver.