zed
zed copied to clipboard
Agent commands still in command palette if agent is disabled
Summary
If the agent is disabled, agent commands still appear in the command palette.
Description
Steps to reproduce:
- Disable the agent (
"agent": { "version": "2", "enabled": false }) - Open the command palette and type
agent
Expected Behavior: No agent commands should appear in the command palette Actual Behavior: Agent commands appear in the command palette
Zed Version and System Specs
Zed: v0.187.8 (Zed) OS: macOS 15.5.0 Memory: 16 GiB Architecture: x86_64
Can reproduce, the agent: ... actions still show up.
This is somewhat resolved by https://github.com/zed-industries/zed/pull/34896, but only if you set disable_ai, which is very all-or-nothing.
To solve this completely, maybe the setting could be made more granular (e.g. only enabling inline completions while disabling other AI functionality).
isn't copilot is configured by following snippet? This is a workaround, but still
"features": {
"copilot": false
},
I personally dislike that we have now 3 options to disable AI: disable_ai = true, agent.enable = false and features.copilot = false.
isn't copilot is configured by following snippet? This is a workaround, but still
"features": { "copilot": false },I personally dislike that we have now 3 options to disable AI:
disable_ai = true,agent.enable = falseandfeatures.copilot = false.
@eirnym Only disable_ai = true is relevant to this issue. None of the other settings remove the agent/assistant commands.
Copilot removes copilot feature, agent.enable was supposed to disable all other AI features (but it doesn't).
As I reviewed PR mentioned, in some places disable_ai fixed places, where agent.enable should be working.
I can no longer reproduce and believe this was fixed by https://github.com/zed-industries/zed/pull/35055:
If you're still seeing this, please reply additional details necessary to trigger the behavior you're seeing.
Thanks for reporting.
I don't think this is resolved.
If you don't disable all AI functionality, but disable the agent with "agent": { "enabled": false }, the agent commands should not appear.
Same goes for other commands like assistant, copilot, and supermaven.
I can confirm @injust
"agent": { "enabled": false }still showsagent:*actions"features": { "edit_prediction_provider": "none" }still showscopilot:*,edit prediction:*,workspace: toggle edit predictions,editor: {show,next,accept,toggle} edit prediction.