Skip to content

Conversation

@roblourens
Copy link
Member

@roblourens roblourens commented Jan 10, 2026

Fix #283328

@meganrogge When the elicitation part is automatically hidden, I guess we leave the state on Pending. This fixes it but if I update the state, does it matter to you whether it's Rejected or Accepted or should it be another ElicitationState?

edit- I'm marking the elicitation as Rejected here, that seems fine, lmk if you think we should do something different though

cc @connor4312

Copilot AI review requested due to automatic review settings January 10, 2026 02:44
@roblourens roblourens self-assigned this Jan 10, 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 PR fixes an issue where the stop button disappears when an elicitation request is automatically hidden while still pending. The fix ensures that hidden elicitation requests don't contribute to the pending confirmation state, allowing the stop button to remain visible.

Changes:

  • Added a check for isHidden state in the elicitation pending logic to prevent hidden elicitations from blocking the stop button

@roblourens roblourens marked this pull request as ready for review January 10, 2026 18:43
@roblourens roblourens requested a review from meganrogge January 10, 2026 18:43
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 10, 2026
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.

No stop button to interrupt agent

2 participants