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
Update cohere_chat.py
pat-cohere1ee8051c7c4e
diff --git a/litellm/llms/cohere_chat.py b/litellm/llms/cohere_chat.pyindex 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_messagedata = {"model": model,+ "chat_history": = chat_histrory,**optional_params,}