Skip to content

enable dismissing questions with steering message - #295039

Merged
Megan Rogge (meganrogge) merged 5 commits into
mainfrom
merogge/steering-question
Feb 13, 2026
Merged

Megan Rogge (meganrogge) merged 5 commits into
mainfrom
merogge/steering-question

Conversation

@meganrogge

Copy link
Copy Markdown
Collaborator

fixes #292018

Chat submit actions now allow sending while a question carousel is pending, and auto-steer queues the new message while dismissing the carousel.

question-steering.mov

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 enables users to send chat messages while a question carousel is pending, automatically dismissing the carousel and queuing the new message as a steering request. This matches the existing behavior for tool confirmations, where users can continue chatting to course-correct when the questions are off-track.

Changes:

  • Added a new context key hasPendingQuestionCarousel to track when a question carousel is awaiting user input
  • Implemented auto-steering logic that dismisses pending question carousels when users send a new message
  • Updated submit action preconditions to allow submission when a question carousel is pending

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/vs/workbench/contrib/chat/common/actions/chatContextKeys.ts Added hasPendingQuestionCarousel context key definition
src/vs/workbench/contrib/chat/browser/widget/chatWidget.ts Added context key binding, hasPendingQuestionCarousel() check, dismissPendingQuestionCarousel() method, and auto-steering logic in _acceptInput()
src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.ts Updated preconditions for submit actions to use whenNotInProgressOrPendingQuestionCarousel instead of whenNotInProgress

@meganrogge
Megan Rogge (meganrogge) merged commit 8dd65cb into main Feb 13, 2026
18 checks passed
@meganrogge
Megan Rogge (meganrogge) deleted the merogge/steering-question branch February 13, 2026 20:57
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Mar 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable steering while questions are pending

4 participants