Open nsarrazin opened 3 months ago
Hi, I'm new. I don't know if custom pull requests are welcome here.
I also encounter this issues and I've found a solution:
add force_single_step: true
to cohere.chatStream
calling in the endpointCohere.ts
file.
This is my pull request: https://github.com/huggingface/chat-ui/pull/1490
I hope this is fine
PRs are very welcome! thanks for looking at this @dvirmor i'll review :rocket:
Bug description
The cohere endpoint type doesn't work well with our current tools setup and errors with
cannot specify both message and tool_results in multistep mode
Steps to reproduce
.env.local
with a model using cohere endpoint type, and settools: true
on that model.Context
Logs
Config