Skip to content

agent_ui: Allow toggling profile selector during generation#56784

Merged
bennetbo merged 4 commits into
zed-industries:mainfrom
Rfluid:fix-toggle-profile-selector-during-generation
May 15, 2026
Merged

agent_ui: Allow toggling profile selector during generation#56784
bennetbo merged 4 commits into
zed-industries:mainfrom
Rfluid:fix-toggle-profile-selector-during-generation

Conversation

@Rfluid

@Rfluid Rfluid commented May 14, 2026

Copy link
Copy Markdown
Contributor

The idle guard prevented the keybinding from working while the agent was generating, even though the profile selector button in the UI remained clickable. Changing the profile affects future messages, not the in-flight response, so there is no reason to block it.

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Closes #56704

Release Notes:

  • Fixed the agent: toggle profile selector keybinding being ignored while the agent was generating a response.

The idle guard prevented the keybinding from working while the agent was
generating, even though the profile selector button in the UI remained
clickable. Changing the profile affects future messages, not the
in-flight response, so there is no reason to block it.
@cla-bot

cla-bot Bot commented May 14, 2026

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @Rfluid on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@zed-community-bot zed-community-bot Bot added the first contribution the author's first pull request to Zed. NOTE: the label application is automated via github actions label May 14, 2026
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label May 14, 2026
@ChristopherBiscardi ChristopherBiscardi added the area:ai/agent thread Feedback for Zed's Agent Thread label May 14, 2026

@danilo-leal danilo-leal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you so much!

@danilo-leal danilo-leal enabled auto-merge May 14, 2026 23:08
@danilo-leal danilo-leal added this pull request to the merge queue May 14, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks May 15, 2026
@danilo-leal danilo-leal added this pull request to the merge queue May 15, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks May 15, 2026
@bennetbo bennetbo added this pull request to the merge queue May 15, 2026
Merged via the queue into zed-industries:main with commit 02a3503 May 15, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ai/agent thread Feedback for Zed's Agent Thread cla-signed The user has signed the Contributor License Agreement first contribution the author's first pull request to Zed. NOTE: the label application is automated via github actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

agent::ToggleProfileSelector keybinding stops working while agent is generating responses

4 participants