8000 call_with_tool_support Error 导致任务执行中断 · Issue #25 · dtyq/magic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

call_with_tool_support Error 导致任务执行中断 #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sunkaichun opened this issue May 22, 2025 · 0 comments
Open

call_with_tool_support Error 导致任务执行中断 #25

sunkaichun opened this issue May 22, 2025 · 0 comments

Comments

@sunkaichun
Copy link

Image

大模型返回结果提示为:
openai.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_F8DVtoeK7vwW45NL8UBYtVX2", 'type': 'invalid_request_error', 'param': 'messages', 'code': None}}

该异常会导致任务中断

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0