Merge pull request #4949 from pat-cohere/patch-1

Fix bug in cohere_chat.py
This commit is contained in:
Ishaan Jaff 2024-07-29 17:01:40 -07:00 • committed by GitHub
commit fc096ee9e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -235,6 +235,7 @@ def completion(
optional_params["message"] = most_recent_message
data = {
"model": model,
"chat_history": chat_histrory,
**optional_params,
}