fix: update Cohere models to current (command-r retired Sept 2025)

This commit is contained in:
Roland Tannous 2026-03-29 18:55:39 +00:00
commit 10e2b5fdef
2 changed files with 4 additions and 4 deletions

View file

@ -61,9 +61,9 @@ PROVIDER_REGISTRY: dict[str, dict[str, Any]] = {
"display_name": "Cohere",
"base_url": "https://api.cohere.ai/compatibility/v1",
"default_models": [
"command-r-plus",
"command-r",
"command-a",
"command-a-03-2025",
"command-r-plus-08-2024",
"command-r-08-2024",
],
"supports_streaming": True,
"supports_vision": False,

View file

@ -44,7 +44,7 @@ _PROVIDER_CONFIGS: dict[str, tuple[str, str]] = {
"openai": ("OPENAI_API_KEY", "gpt-4o-mini"),
"mistral": ("MISTRAL_API_KEY", "mistral-small-latest"),
"google": ("GOOGLE_API_KEY", "gemini-2.5-flash"),
"cohere": ("COHERE_API_KEY", "command-r"),
"cohere": ("COHERE_API_KEY", "command-a-03-2025"),
"together": ("TOGETHER_API_KEY", "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8"),
"fireworks": ("FIREWORKS_API_KEY", "accounts/fireworks/models/llama4-maverick-instruct-basic"),
"perplexity": ("PERPLEXITY_API_KEY", "sonar"),