support sequential tool calls and fix mistral#78
support sequential tool calls and fix mistral#78deathbyknowledge wants to merge 1 commit intocloudflare:mainfrom
Conversation
|
Hey @deathbyknowledge, thanks for this! I've got a couple of questions.
I think generally I'm missing some context that defines the exact problem that we have here. And it would be good to detail it for posterity. |
|
revisiting this, I'd like to land support for mistral, can we address feedback and move forward here? |
contentandtool_callsso this adds a check for it.tool_call_id, so this includes it.sequentialCalls, so a model is allowed to chain tool calls together, instead of only when the last message is a user message. This makes all responses be a simulated stream.Usage: