BadRequestError('Error code: 400 - {\'error\': {\'message\': "An assistant message with \'tool_calls\' must be followed by tool messages responding to each \'tool_call_id\'. The following tool_call_ids did not have response messages: call_i8vT76kQ8XOpe9ErYaTYRRxV", \'type\': \'invalid_request_error\', \'param\': \'messages.[14].role\', \'code\': None}}')
POSSIBLY RELATED:
Rami:
I would debug this and go through tool by tool, then you can see the call_id and understand what that's supposed to be and directly know where it's missing
POSSIBLY RELATED:
Rami: