Skip to content

[Bug] The unavailable-model recovery action still cannot open the combined picker #173

Open

Description

@yuuu125

Background and impact

The unavailable-model recovery flow remains broken after the model picker was refactored. When sending is blocked because the saved model is unavailable, the Choose model action changes modelPicker.compactOpen. The Composer now renders ModelBehaviorMenu, however, and that component keeps a separate local open state without receiving modelPickerOpen or onModelPickerOpenChange. As a result, the recovery action does not display a picker and the user cannot directly select a working model.

This has been reproducible on the current main branch after the TokenStar and combined model/reasoning menu changes. It is not covered by the open draft PR #144, which only restores the ModelSelect fallback for Configure models; ModelSelect is no longer the Composer control.

Affected modules

  • apps/app/src/react-app/shell/session-route.tsx
  • apps/app/src/react-app/domains/session/surface/composer/composer.tsx
  • apps/app/src/react-app/domains/session/surface/composer/model-behavior-menu.tsx

Steps to reproduce

  1. Select a model, then disable or disconnect its provider so the model becomes unavailable.
  2. Open a session, enter a prompt, and try to send it.
  3. In the unavailable-model error notification, click Choose model.

Expected behavior

The combined Composer model picker opens immediately, allowing the user to choose an available model and resend the prompt.

Actual behavior

No picker opens. session-route.tsx sets compactOpen to true, but ModelBehaviorMenu ignores that state because it owns a separate useState(false).

Suggested investigation

Pass controlled open and onOpenChange props from Composer into ModelBehaviorMenu, or make the recovery action target the component’s actual open state. Add a regression test that verifies the unavailable-model Choose model action opens the combined picker.

Activity

  1. Devin-AXIS commented on Aug 4, 2026

    @Devin-AXIS
    Owner

    Thanks for reporting this! We've already fixed the issue.
    Please update to the latest version and give it another try. Thanks for your support!

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions