Skip to content

Fix assistant commands visibility when agent is disabled#48951

Merged
benbrandt merged 1 commit intozed-industries:mainfrom
OmChillure:fix-assistant-commands-visibility
Feb 12, 2026
Merged

Fix assistant commands visibility when agent is disabled#48951
benbrandt merged 1 commit intozed-industries:mainfrom
OmChillure:fix-assistant-commands-visibility

Conversation

@OmChillure
Copy link
Contributor

@OmChillure OmChillure commented Feb 11, 2026

Changes

  • Hide assistant namespace when agent.enabled = false
  • Added test coverage for assistant command visibility

Testing

  • Verified manually that commands are hidden/shown dynamically
  • Added test assertions in test_agent_command_palette_visibility
  • Test passes: cargo test -p agent_ui test_agent_command_palette_visibility

Video :

Screencast.from.2026-02-11.21-01-30.webm

Closes #48713.

Release Notes:

  • Fixed assistant commands (Copy Code, Insert Into Editor, etc.) remaining visible in the command palette when the agent is disabled in settings.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 11, 2026
@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 Feb 11, 2026
@maxdeviant maxdeviant changed the title Fix assistant commands visibility when agent is disabled Fixes #48713 Fix assistant commands visibility when agent is disabled Feb 11, 2026
@SomeoneToIgnore SomeoneToIgnore added the area:ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features label Feb 11, 2026
Copy link
Member

@benbrandt benbrandt left a comment

Choose a reason for hiding this comment

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

Thanks!

@benbrandt benbrandt merged commit e24538d into zed-industries:main Feb 12, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features 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.

Assistant commands/keybinds should be disabled when agent is disabled

3 participants