Skip to content

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

@Rfluid

Description

@Rfluid

Reproduction steps

Reproduction steps

  1. Configure the following keybinding:
"space a p": "agent::ToggleProfileSelector"
  1. Open a thread with an agent enabled.

  2. While the agent is idle, press space a p.

    • The profile selector opens correctly.
  3. Send a prompt so the agent starts generating a response.

  4. While generation is still in progress, press space a p again.

Current vs. Expected behavior

Expected behavior

The profile selector should open normally, just like when the agent is idle.

Actual behavior

The keybinding does nothing while the agent is generating a response.

This seems inconsistent because the profile selector can still be changed manually through the UI during generation.

Zed version and system specs

Zed: 1.2.3
Commit: ede077939fbe732d38afe7cf2576d3a19ef3ca57
OS: Linux (Kubuntu)
Memory: 24 GiB
Architecture: x86_64

Attach Zed log file

No response

Relevant Zed settings

No response

Relevant Keymap

{
    "context": "Editor && VimControl && !VimWaiting && !menu",
    "bindings": {
        "space a p": "agent::ToggleProfileSelector"
    }
}

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:needs triagetriage is not complete: no `area:*` label, or no `priority:*`/`frequency:*` for Bugs/Crashes

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions