Skip to content

High frequence issue "Internal error" #2381

@lazerliu

Description

@lazerliu

What happened?

After server round chat, it will block itself, I stop it with "stop" button and re-ask, then will Internal error
Internal error: 400 <400> InternalError.Algo.InvalidParameter: 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: message[45].role

What did you expect to happen?

No block, no Internal error

Client information

Qwen Code: 0.12.3 (f1ee463)
Runtime: Node.js v22.22.0 / npm 10.9.4
IDE Client: IDE
OS: linux x64 (6.8.0-101-generic)
Auth: Qwen OAuth
Model: coder-model
Session ID: f139e6c3-f048-4484-9f43-e919fdcb0470
Sandbox: no sandbox
Proxy: no proxy
Memory Usage: 177.4 MB

Login information

Internal error: 400 <400> InternalError.Algo.InvalidParameter: 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: message[45].role

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Labels

status/needs-triageIssue needs to be triaged and labeledtype/bugSomething isn't working as expected

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions