mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-24 00:28:32 +00:00
Update cohere_chat.py
Add chat history to cohere chat call that was previously being dropped.
This commit is contained in:
@@ -235,6 +235,7 @@ def completion(
|
||||
optional_params["message"] = most_recent_message
|
||||
data = {
|
||||
"model": model,
|
||||
"chat_history": = chat_histrory,
|
||||
**optional_params,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user