What happened?
Any message/ request/prompt sent to Qwen code gives a API Error: 400. Every single one. This has been happening for the last 12-16 hours without any setting or config change by me. Started happening in the middle of a coding session
Exact error message:
✕ [API 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[540].role]
What did you expect to happen?
The prompts are sent to the model and the model responds appropriately
Client information
Client Information
Run qwen to enter the interactive CLI, then run the /about command.
╭────────────╮
│ > /about │
╰────────────╯
╭──────────────────────────────────────────────────────────────────────────────────╮
│ │
│ About Qwen Code │
│ │
│ CLI Version 0.0.11 │
│ Git Commit b01ddf0a │
│ Model qwen3-coder-plus │
│ Sandbox no sandbox │
│ OS win32 │
│ Auth Method qwen-oauth │
│ │
╰──────────────────────────────────────────────────────────────────────────────────╯
Login information
Auth
Anything else we need to know?
No response
What happened?
Any message/ request/prompt sent to Qwen code gives a API Error: 400. Every single one. This has been happening for the last 12-16 hours without any setting or config change by me. Started happening in the middle of a coding session
Exact error message:
✕ [API 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[540].role]What did you expect to happen?
The prompts are sent to the model and the model responds appropriately
Client information
Client Information
Run
qwento enter the interactive CLI, then run the/aboutcommand.Login information
Auth
Anything else we need to know?
No response