mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
Update cohere_chat.py
Add chat history to cohere chat call that was previously being dropped.
This commit is contained in:
parent
ae4bcd8a41
commit
1ee8051c7c
1 changed files with 1 additions and 0 deletions
|
|
@ -235,6 +235,7 @@ def completion(
|
|||
optional_params["message"] = most_recent_message
|
||||
data = {
|
||||
"model": model,
|
||||
"chat_history": = chat_histrory,
|
||||
**optional_params,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue