Skip to content

Slash command: /model keybinding erases typed agent prompt #15821

Description

@tkossak

Pre-submit Checks

Describe the bug

In an agent pane, typed prompt text is lost when I trigger Slash command: /model from a keyboard shortcut.

I bind that action in Settings > Keyboard shortcuts (Ctrl+M in the recording, but the specific keys do not matter). I type a draft in a new agent conversation, press the shortcut, pick a model, and the draft is gone. The input is back to the empty placeholder.

Closest existing issue is #12711 (profile switcher clearing input). That one is about profiles, not /model, and it claimed the model selector already restored the prompt.

To reproduce

  1. Settings > Keyboard shortcuts. Bind any unused chord to Slash command: /model.
  2. Open a new agent conversation.
  3. Type a draft in the agent input. Do not send it.
  4. Press the /model shortcut.
  5. Select a different model from the picker.

Expected behavior

The draft I typed before opening /model should still be in the input after I pick a model.

Screenshots, videos, and logs

warp_model_erases_text.mp4

Sequence:

  1. Shortcut is Slash command: /model = Ctrl+M.
  2. Draft in the agent input: this is samp.
  3. Ctrl+M opens the model picker. Input switches to Search models.
  4. I filter to fable and select Claude Fable 5.1 (high).
  5. Input is empty again. Placeholder is Warp anything e.g. Create unit tests for my authentication service.

Operating system (OS)

Linux

Operating system and version

CachyOS Linux (Arch-based), kernel 7.2.0-1-cachyos, KDE Plasma, Wayland

Shell Version

zsh 5.9.2 (x86_64-pc-linux-gnu)

Current Warp version

v0.2026.09.02.08.27.stable_01

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

N/A

Additional context

Wayland. Reproduced from a new agent conversation with no prior messages.

The bound action is the built-in Slash command: /model command, not a custom script. Same wipe happens with any keybinding for that action.

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:agentAgent workflows, conversations, prompts, cloud mode, and AI-specific UI.area:settings-keybindingsSettings UI, preferences, keybindings, and keyboard-shortcut management.bugSomething isn't working.factory-auto-implementQueued for automated implementation by the Warp factoryfactory:wilsonos:linuxLinux-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.warp:auto-triage-review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions