Skip to content

Model selector unavailable when reopening a session whose project directory was deleted #50137

Closed as duplicate

Description

@thaletto

Description

If a project's directory is removed from the local filesystem after a session has been run, reopening that session leaves the model selector unavailable. The user can't view or change the model for the session.

Plugins

No response

OpenCode version

2.0.10

Steps to reproduce

  1. Create a project
  2. Run a session on that project
  3. Remove the directory from local filesystem
  4. Go back to the session in OpenCode, model selector would not be available

Screenshot and/or share link

Image

Operating System

macOS 27

Terminal

OpenCode Desktop

Activity

  1. csyio commented on Oct 6, 2026

    @csyio

    This looks like the same root cause as #50951. The server side was fixed in #52668, and #50952 handles the desktop recovery.

  2. neriousy commented on Oct 20, 2026

    @neriousy
    Member

    Thanks for reporting this! The model selector becoming unavailable after deleting the session's project folder is the same problem as #57247, and we're tracking it there. Please subscribe or add a 👍 there, and feel free to share any extra details from your macOS setup.

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