The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Swap Cohere and Cohere Chat provider (#11173)
Bryan Lowd77b825814c3
diff --git a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx b/ui/litellm-dashboard/src/components/provider_info_helpers.tsxindex 54bc17e4847..304c36381dc 100644--- a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx+++ b/ui/litellm-dashboard/src/components/provider_info_helpers.tsx@@ -40,7 +40,7 @@ export const provider_map: Record<string, string> = {Bedrock: "bedrock",Groq: "groq",MistralAI: "mistral",- Cohere: "cohere_chat",+ Cohere: "cohere",OpenAI_Compatible: "openai",OpenAI_Text_Compatible: "text-completion-openai",Vertex_AI: "vertex_ai",@@ -155,7 +155,7 @@ export const getPlaceholder = (selectedProvider: string): string => {}});- // Special case for cohere_chat+ // Special case for cohere// we need both cohere_chat and cohere models to show on dropdownif (providerKey == Providers.Cohere) {console.log("Adding cohere chat models");@@ -164,7 +164,7 @@ export const getPlaceholder = (selectedProvider: string): string => {value !== null &&typeof value === "object" &&"litellm_provider" in (value as object) &&- ((value as any)["litellm_provider"] === "cohere")+ ((value as any)["litellm_provider"] === "cohere_chat")) {providerModels.push(key);}