You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I included a self-contained, minimal example that demonstrates the issue INCLUDING all the relevant imports. The code run AS IS to reproduce the issue.
因为错误的模型运行顺序导致了错误如下
ValueError: {'message': 'Provider returned error', 'code': 400, 'metadata': {'raw': {'__kind': 'OK', 'data': '{\n "error": {\n "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_Rad8sO1nwvG0fRKww4DlSJBM",\n "type": "invalid_request_error",\n "param": "messages.[15].role",\n "code": null\n }\n}'}, 'provider_name': 'OpenAI'}}
The text was updated successfully, but these errors were encountered:
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Description
、
我的路由函数都输出了正确的路由为什么没有按照预期的顺序运行?
System Info
因为错误的模型运行顺序导致了错误如下
ValueError: {'message': 'Provider returned error', 'code': 400, 'metadata': {'raw': {'__kind': 'OK', 'data': '{\n "error": {\n "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_Rad8sO1nwvG0fRKww4DlSJBM",\n "type": "invalid_request_error",\n "param": "messages.[15].role",\n "code": null\n }\n}'}, 'provider_name': 'OpenAI'}}
The text was updated successfully, but these errors were encountered: