GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bug(app): custom models without release dates are hidden in V2 · Issue #60479 · anomalyco/opencode

bug(app): custom models without release dates are hidden in V2 #60479

New issue
Copy link
New issue
Copy link
Closed as duplicate
#60496
Closed as duplicate
bug(app): custom models without release dates are hidden in V2#60479
#60496
Copy link
Labels
pending closetriaging

Description

@joe-ieta
joe-ieta
opened on Oct 30, 2026
Issue body actions

Description

V2 desktop loads custom models from the global config, but the model picker hides them when no release date is configured. On Windows, the running service returns the provider as enabled and the model with time.released: 0. The app converts that unknown date to 1970-01-01, so its default visibility filter excludes the model.

This reproduces the defect reported in #49605 on the current V2 code; #50726 describes the same desktop symptom.

Steps to reproduce

  1. Add a model with no catalog entry or release date to %USERPROFILE%\.config\opencode\opencode.jsonc:
    {
      "providers": {
        "local-example": {
          "name": "Local example",
          "package": "@opencode/ai/providers/openai-compatible",
          "settings": { "baseURL": "http://127.0.0.1:8000/v1" },
          "models": {
            "local-example-model": {
              "name": "Local example model",
              "limit": { "context": 65536, "output": 8192 }
            }
          }
        }
      }
    }
  2. Open a client with no saved model visibility preference.
  3. Open the model picker and search for local-example-model.

Expected: the enabled model is visible, using the existing unknown-date fallback.
Actual: it is hidden; manually enabling it in Manage models makes it appear.

OpenCode version

Reproduced with fork desktop 2.2.0-dev-my.4; the same normalization and visibility logic remains in upstream dev at cd6551f9a0 and fork 2.2.1-dev-my.1.

Operating System

Windows x64 (shared web/desktop app logic).

Verification

Read-only /api/config, /api/provider, and /api/model requests confirm successful config loading. A regression test against the real catalog adapter fails before preserving released: 0 as an empty date. Known release dates and explicit visibility preferences should retain their behavior.

Activity

  1. opencodejr commented on Oct 30, 2026

    @opencodejr
    opencodejrBot
    on Oct 30, 2026
    Contributor
    More actions

    Thanks for the detailed report and the root-cause analysis! I think this is a duplicate of #49605, which is still open and describes the same chain: time.released: 0 is turned into 1970-01-01, so the default visibility rule hides config-declared models.

    Possible duplicates and related issues, ordered by likelihood:

    • web: config-declared models are hidden by default — released:0 is coerced to "1970-01-01" and fails the client visibility window #49605: same root cause and symptom (unknown release date coerced to 1970-01-01, model hidden by default); already reproduced on v2 and dev
    • desktop: custom provider models missing from /models dialog #50726: the same desktop symptom (custom provider models missing from the models dialog on Windows)
    • fix: treat released=0 as unknown date so config-declared models stay visible #49616 and fix(app): show config-declared models in the picker by default #53158: earlier PRs aimed at this, both closed

    Your Windows confirmation and the regression-test approach would be useful on #49605. The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.

  2. opencodejr
    added
    pending close
    triaging
    on Oct 30, 2026
  3. Hona
    closed this as completedin #60496on Oct 30, 2026
  4. opencodejr
    closed this as duplicateon Oct 31, 2026
  5. opencodejr commented on Oct 31, 2026

    @opencodejr
    opencodejrBot
    on Oct 31, 2026
    Contributor
    More actions

    Closing this as a duplicate of #49605, since we haven't heard how this differs from it. That issue covers the same problem: time.released: 0 is turned into 1970-01-01, so the model picker hides config-declared models by default. Please follow #49605 for progress. Your Windows confirmation and regression-test approach would be welcome there. If your case does turn out to be different, reply here and we can reopen it. Thanks for the thorough report!

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

    pending closetriaging

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.