You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Stream = True parameter in cohere.chat and passing an empty message " " with a tool call result, I get no errors rather just a response 400 from the API. With Stream = False, I get a perfectly good response.
Wondering if there is different validation for Stream? The parameters being sent to cohere.chat are identical in both cases. Parameters that I am sending are: preamble, chat_history, tools, tool_results, messages, model
The text was updated successfully, but these errors were encountered:
When using the
Stream = True
parameter in cohere.chat and passing an empty message" "
with a tool call result, I get no errors rather just a response 400 from the API. WithStream = False
, I get a perfectly good response.Wondering if there is different validation for Stream? The parameters being sent to cohere.chat are identical in both cases. Parameters that I am sending are:
preamble, chat_history, tools, tool_results, messages, model
The text was updated successfully, but these errors were encountered: