Skip to content

bug(vscode): tool call and reply order can be incorrect #3571

@qqqys

Description

@qqqys

Bug Report Draft

What happened?

In the VS Code extension, the order of tool-call cards and assistant replies is sometimes incorrect during a single turn. A tool call may appear before the related assistant text, or the final answer may be rendered in a confusing sequence after tool activity. This makes the conversation timeline hard to follow.

What did you expect to happen?

Tool calls and assistant replies should appear in the same chronological order in which they happen during the turn. The assistant text should stay visually aligned with the tool activity it triggered, so the full reply reads naturally from top to bottom.

Client information

Client Information

Run qwen to enter the interactive CLI, then run the /about command.

$ qwen /about
# paste output here

Platform: macOS
Integration: VS Code extension

Login information

Please describe how you are logging in (for example: API Config, account login, or another method).

Anything else we need to know?

  • This appears to affect the VS Code IDE companion chat UI.
  • The problem is most noticeable when one assistant turn includes both streamed text and one or more tool calls.
  • If possible, include a short screen recording or screenshots showing the wrong ordering.
  • If reproducible, add the exact prompt and whether the issue happens consistently or only sometimes.

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