feat: update to latest Anthropic model lineup (Fable 5, Opus 4.8, Sonnet 5)
Adds claude-fable-5 as a new tier and swaps the default Opus/Sonnet entries from 4.6 to Opus 4.8 / Sonnet 5, with refreshed pricing and context-window metadata.
This commit is contained in:
@@ -69,9 +69,9 @@ async def get_provider_for_model(model_str: str, user_id: str | None = None) ->
|
||||
|
||||
If the model string has no provider prefix, the default provider is used.
|
||||
Examples:
|
||||
"anthropic:claude-sonnet-4-6" → (AnthropicProvider, "claude-sonnet-4-6")
|
||||
"anthropic:claude-sonnet-5" → (AnthropicProvider, "claude-sonnet-5")
|
||||
"openrouter:openai/gpt-4o" → (OpenRouterProvider, "openai/gpt-4o")
|
||||
"claude-sonnet-4-6" → (default_provider, "claude-sonnet-4-6")
|
||||
"claude-sonnet-5" → (default_provider, "claude-sonnet-5")
|
||||
"""
|
||||
_known = {"anthropic", "openrouter", "openai"}
|
||||
if ":" in model_str:
|
||||
|
||||
Reference in New Issue
Block a user