mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-11 22:53:00 +00:00
Add Claude Haiku 4.5 to model catalog
Makes Haiku discoverable via list_models and get_model_info with aliases "haiku" and "claude-haiku". Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Entire-Checkpoint: ed7df801c2a4
This commit is contained in:
parent
66a918be2b
commit
52842e21a7
2 changed files with 15 additions and 2 deletions
|
|
@ -25,6 +25,19 @@
|
|||
"output_cost_per_million": 15.0,
|
||||
"aliases": ["sonnet", "claude-sonnet"]
|
||||
},
|
||||
{
|
||||
"id": "claude-haiku-4-5-20251001",
|
||||
"provider": "anthropic",
|
||||
"display_name": "Claude Haiku 4.5",
|
||||
"context_window": 200000,
|
||||
"max_output": 8192,
|
||||
"supports_tools": true,
|
||||
"supports_vision": true,
|
||||
"supports_reasoning": false,
|
||||
"input_cost_per_million": 0.8,
|
||||
"output_cost_per_million": 4.0,
|
||||
"aliases": ["haiku", "claude-haiku"]
|
||||
},
|
||||
{
|
||||
"id": "gpt-5.2",
|
||||
"provider": "openai",
|
||||
|
|
|
|||
|
|
@ -75,13 +75,13 @@ mod tests {
|
|||
#[test]
|
||||
fn list_models_all() {
|
||||
let models = list_models(None);
|
||||
assert_eq!(models.len(), 7);
|
||||
assert_eq!(models.len(), 8);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn list_models_by_provider() {
|
||||
let anthropic = list_models(Some("anthropic"));
|
||||
assert_eq!(anthropic.len(), 2);
|
||||
assert_eq!(anthropic.len(), 3);
|
||||
assert!(anthropic.iter().all(|m| m.provider == "anthropic"));
|
||||
|
||||
let openai = list_models(Some("openai"));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue