mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-07 08:27:12 +00:00
Change default Anthropic model from claude-opus-4-6 to claude-sonnet-4-6
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7b364ab28e
commit
e626bcfcd4
3 changed files with 8 additions and 8 deletions
|
|
@ -2743,8 +2743,8 @@ mod tests {
|
|||
let graph = fabro_graphviz::graph::Graph::new("test");
|
||||
let defaults = RunDefaults::default();
|
||||
let (model, provider) = resolve_model_provider(None, None, None, &defaults, &graph);
|
||||
assert_eq!(model, "claude-opus-4-6");
|
||||
// Catalog resolves anthropic as the provider for claude-opus-4-6
|
||||
assert_eq!(model, "claude-sonnet-4-6");
|
||||
// Catalog resolves anthropic as the provider for claude-sonnet-4-6
|
||||
assert_eq!(provider, Some("anthropic".to_string()));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,8 +13,7 @@
|
|||
"cache_input_cost_per_mtok": 1.50
|
||||
},
|
||||
"estimated_output_tps": 25,
|
||||
"aliases": ["opus", "claude-opus"],
|
||||
"default": true
|
||||
"aliases": ["opus", "claude-opus"]
|
||||
},
|
||||
{
|
||||
"id": "claude-sonnet-4-5",
|
||||
|
|
@ -46,7 +45,8 @@
|
|||
"cache_input_cost_per_mtok": 0.30
|
||||
},
|
||||
"estimated_output_tps": 50,
|
||||
"aliases": ["sonnet", "claude-sonnet"]
|
||||
"aliases": ["sonnet", "claude-sonnet"],
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"id": "claude-haiku-4-5",
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ mod tests {
|
|||
#[test]
|
||||
fn default_model_for_provider_returns_correct_model() {
|
||||
let m = default_model_for_provider("anthropic").unwrap();
|
||||
assert_eq!(m.id, "claude-opus-4-6");
|
||||
assert_eq!(m.id, "claude-sonnet-4-6");
|
||||
assert!(m.default);
|
||||
|
||||
let m = default_model_for_provider("openai").unwrap();
|
||||
|
|
@ -289,7 +289,7 @@ mod tests {
|
|||
"opus",
|
||||
"claude-opus",
|
||||
],
|
||||
default: true,
|
||||
default: false,
|
||||
}
|
||||
"#);
|
||||
}
|
||||
|
|
@ -637,7 +637,7 @@ mod tests {
|
|||
#[test]
|
||||
fn probe_model_anthropic_returns_default() {
|
||||
let m = probe_model_for_provider("anthropic").unwrap();
|
||||
assert_eq!(m.id, "claude-opus-4-6");
|
||||
assert_eq!(m.id, "claude-sonnet-4-6");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue