Skip to content

Comments

Fix missing stop button after elicitation is hidden#286866

Merged
roblourens merged 4 commits intomainfrom
roblou/bare-partridge
Jan 12, 2026
Merged

Fix missing stop button after elicitation is hidden#286866
roblourens merged 4 commits intomainfrom
roblou/bare-partridge

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
@roblourens roblourens merged commit bdab783 into main Jan 12, 2026
22 checks passed
@roblourens roblourens deleted the roblou/bare-partridge branch January 12, 2026 23:14
eli-w-king pushed a commit that referenced this pull request Jan 14, 2026
* Fix missing stop button after elicitation is hidden
Fix #283328

* Set elicitation state to rejected when hidden

* Only reject when it was pending
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

3 participants