Skip to content

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]

Update cohere_chat.py

pat-cohere972df1f303f4
diff --git a/litellm/llms/cohere_chat.py b/litellm/llms/cohere_chat.py
index bfa5ebf78bc..1b4e0d79806 100644
--- a/litellm/llms/cohere_chat.py
+++ b/litellm/llms/cohere_chat.py
@@ -235,7 +235,7 @@ def completion(
optional_params["message"] = most_recent_message
data = {
"model": model,
- "chat_history": = chat_histrory,
+ "chat_history": chat_histrory,
**optional_params,
}