chore(catalog): set Opus 4.7 as the Anthropic default

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-05-04 10:46:01 -04:00
parent 7be557312e
commit 493ab7f442
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

View file

@ -14,7 +14,8 @@
"cache_input_cost_per_mtok": 0.50
},
"estimated_output_tps": 25,
"aliases": ["opus", "claude-opus"]
"aliases": ["opus", "claude-opus"],
"default": true
},
{
"id": "claude-opus-4-6",
@ -65,8 +66,7 @@
"cache_input_cost_per_mtok": 0.30
},
"estimated_output_tps": 50,
"aliases": ["sonnet", "claude-sonnet"],
"default": true
"aliases": ["sonnet", "claude-sonnet"]
},
{
"id": "claude-haiku-4-5",

View file

@ -226,7 +226,7 @@ mod tests {
let m = Catalog::builtin()
.default_for_provider(Provider::Anthropic)
.unwrap();
assert_eq!(m.id, "claude-sonnet-4-6");
assert_eq!(m.id, "claude-opus-4-7");
assert!(m.default);
let m = Catalog::builtin()
@ -253,7 +253,7 @@ mod tests {
let m = Catalog::builtin()
.probe_for_provider(Provider::Anthropic)
.unwrap();
assert_eq!(m.id, "claude-sonnet-4-6");
assert_eq!(m.id, "claude-opus-4-7");
}
#[test]

View file

@ -152,7 +152,7 @@ mod tests {
assert_eq!(info.cache_input_cost_per_mtok(), Some(0.5));
assert_eq!(info.estimated_output_tps(), Some(25.0));
assert!(!info.aliases().is_empty());
assert!(!info.is_default());
assert!(info.is_default());
}
#[test]