Skip to content

[Bug]: Fully typed /model hides the mobile Switch model suggestion #37279

Closed

Description

@StiensWout

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

  1. Open a mobile thread or new-task composer.
  2. Type /mod at the beginning of the draft. The /model, Switch model suggestion appears.
  3. Finish typing /model without a trailing space.

Expected behavior

The Switch model suggestion remains available, and selecting it opens the existing model picker.

Actual behavior

The suggestion disappears when the command is fully typed. The same happens with case variants and at the beginning of a new line. Inline Question /model remains offered.

Impact

Minor bug or occasional failure

Version or commit

Current-main public-hook reproduction: c2e54e3.

Environment

Mobile composer and shared command detector. Verified in the native Android development client on Android 17 with an isolated backend, without sending a provider turn. iOS was not separately exercised.

Logs or stack traces

The shared detector categorizes exact line-leading /model as the obsolete slash-model trigger. Mobile builds menu items for slash-command, so the resulting menu is empty.

Workaround

Select the suggestion while the input is still /mod, or open the model picker from the toolbar.

Related: #37108 and merged #37109 fixed selecting an offered suggestion. That change explicitly excluded fully typed recognition; this report concerns the suggestion disappearing before it can be selected.

Screenshots, recordings, or supporting files

The fix was verified on native Android: fully typed command remains offered, then selection opens the picker.

Activity

  1. added
    vouch:trusted
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    vouch:trusted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions