Skip to content

fix: enhance final response rendering logic in ChatListItemRenderer#286996

Merged
justschen merged 1 commit intomicrosoft:mainfrom
tamuratak:fix_finalresponse_rendering_b
Jan 13, 2026
Merged

fix: enhance final response rendering logic in ChatListItemRenderer#286996
justschen merged 1 commit intomicrosoft:mainfrom
tamuratak:fix_finalresponse_rendering_b

Conversation

@tamuratak
Copy link
Contributor

fix: enhance final response rendering logic in ChatListItemRenderer. Fix #286959.

cc: @justschen

Copilot AI review requested due to automatic review settings January 11, 2026 12:25
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 PR enhances the final response rendering logic in ChatListItemRenderer to fix an issue where the final response in chat was sometimes collapsed or cut off when it should have been fully displayed.

Changes:

  • Modified renderMarkdown method to detect when rendering the final answer part of a complete response
  • Ensured final answer parts are not pinned into thinking containers and are always displayed fully
  • Added logic to finalize any active thinking part when rendering the final answer

@justschen justschen enabled auto-merge (squash) January 13, 2026 01:12
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 13, 2026
@justschen justschen merged commit a72f553 into microsoft:main Jan 13, 2026
21 of 23 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.

The final response rendering sometimes collapses or gets cut off.

5 participants