Skip to content

Conversation

@justschen
Copy link
Collaborator

@justschen justschen commented Jan 24, 2026

fix #289788

fixes cases where we will show generic tool text in the headers (due to tools still being in progress)
488-Cresselia

Copilot AI review requested due to automatic review settings January 24, 2026 04:46
@justschen justschen enabled auto-merge (squash) January 24, 2026 04:47
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 24, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request improves the thinking content part in VS Code's chat interface by fixing cases where generic tool text is shown in headers when tools are still in progress. The changes ensure that titles update dynamically as tools stream and execute, rather than showing stale or generic messages.

Changes:

  • Enhanced the AI prompt for title generation to better handle different types of content (tool invocations, reasoning headers, raw thinking text)
  • Added reactive tracking of tool invocation state changes to update titles in real-time as tools progress through streaming and execution phases
  • Fixed title management to properly reflect the current state of tools in collapsed mode

@justschen justschen merged commit b9a5f6c into microsoft:main Jan 24, 2026
17 checks passed
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

Successfully merging this pull request may close these issues.

Edit/thinking confusion

2 participants