Describe the bug
When two async tool calls are in the same message, an exception is being raised
Steps to reproduce
Run notebook/agentchat_function_call_async.ipynb and uncomment the last cell. You'll get the following error:
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_j394Fv8APHuTdEFAtWEX3JF4", 'type': 'invalid_request_error', 'param': 'messages.***4***.role', 'code': None
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response
Describe the bug
When two async tool calls are in the same message, an exception is being raised
Steps to reproduce
Run
notebook/agentchat_function_call_async.ipynband uncomment the last cell. You'll get the following error:Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response