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-cohere1ee8051c7c4e
diff --git a/litellm/llms/cohere_chat.py b/litellm/llms/cohere_chat.py
index 830c924bd4f..bfa5ebf78bc 100644
--- a/litellm/llms/cohere_chat.py
+++ b/litellm/llms/cohere_chat.py
@@ -235,6 +235,7 @@ def completion(
optional_params["message"] = most_recent_message
data = {
"model": model,
+ "chat_history": = chat_histrory,
**optional_params,
}