We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c3b4ec commit e5a95b5Copy full SHA for e5a95b5
src/adapters/llm.rs
@@ -107,7 +107,9 @@ pub fn create_adapter(config: &ModelConfig) -> Result<Box<dyn LLMAdapter>> {
107
// Route anthropic/ prefix directly to the Anthropic adapter
108
let mut anth_config = config;
109
anth_config.model_name = model;
110
- return Ok(Box::new(crate::adapters::AnthropicAdapter::new(anth_config)?));
+ return Ok(Box::new(crate::adapters::AnthropicAdapter::new(
111
+ anth_config,
112
+ )?));
113
}
114
_ => {
115
// Other vendor prefixes (e.g. openai/, meta-llama/) → OpenRouter
0 commit comments