pipecat-ai / pipecat

Open Source framework for voice and multimodal conversational AI
BSD 2-Clause "Simplified" License
3.24k stars 287 forks source link

openai.BadRequestError: Error code: 400 - {'error': {'message': "An assistant message with 'tool_calls' must be followed by tool messages responding to each ' #309

Closed geekofycoder closed 2 months ago

geekofycoder commented 2 months ago

This is the issue that I am getting after binding the tool with llm.The bot pauses and if we speak anything else it throws the error.Can someone guide me through this

TomTom101 commented 2 months ago

Do you have a full example? Is this related to or the same as #298 ?

geekofycoder commented 2 months ago

Yes it is the same...

TomTom101 commented 2 months ago

Then maybe closer this one as it apparently is a duplicate?