Skip to main content

parse_model_spec

Function parse_model_spec 

Source
pub fn parse_model_spec(spec: &str) -> Result<ModelConfig, ModelError>
Expand description

"openai:gpt-4o" / "local:llama3.1:8b" -> config.

Everything after the first colon is the model name, so Ollama tags (llama3.1:8b) survive intact.