Bug: Configured Models No Longer Listed #2817

Closed
opened 2026-02-16 17:37:21 -05:00 by yindo · 4 comments
Owner

Originally created by @jbuckmccready on GitHub (Nov 12, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

Updated from version 1.0.44 to 1.0.61 and now my configured models are no longer listed when I use /models. Looking in release notes, opencode docs, and https://models.dev/ I can't find any reason this would have changed/stopped working.

Before update (opencode 1.0.44):
gp5-5-high, sonnet-4-5-high, sonnet-4-5-med, and sonnet-4-5-low were all listed with /models.

After update (opencode 1.0.61):
/models only lists base models from copilot and anthropic providers, none of my configured models are listed.

My configured models (from my opencode.json):

{
  "provider": {
    "github-copilot": {
      "models": {
        "gpt-5-high": {
          "id": "gpt-5",
          "options": {
            "reasoningEffort": "high",
            "textVerbosity": "low",
            "reasoningSummary": "auto"
          }
        }
      }
    },
    "anthropic": {
      "models": {
        "sonnet-4-5-high": {
          "id": "claude-sonnet-4-5-20250929",
          "options": {
            "thinking": {
              "type": "enabled",
              "budgetTokens": 16000
            }
          }
        },
        "sonnet-4-5-med": {
          "id": "claude-sonnet-4-5-20250929",
          "options": {
            "thinking": {
              "type": "enabled",
              "budgetTokens": 8000
            }
          }
        },
        "sonnet-4-5-low": {
          "id": "claude-sonnet-4-5-20250929",
          "options": {
            "thinking": {
              "type": "enabled",
              "budgetTokens": 2000
            }
          }
        }
      }
    }
  }
}

OpenCode version

1.0.61

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Mac OS 15.6.1

Terminal

Ghostty

Originally created by @jbuckmccready on GitHub (Nov 12, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description Updated from version 1.0.44 to 1.0.61 and now my configured models are no longer listed when I use `/models`. Looking in release notes, opencode docs, and https://models.dev/ I can't find any reason this would have changed/stopped working. Before update (opencode 1.0.44): `gp5-5-high`, `sonnet-4-5-high`, `sonnet-4-5-med`, and `sonnet-4-5-low` were all listed with `/models`. After update (opencode 1.0.61): `/models` only lists base models from copilot and anthropic providers, none of my configured models are listed. My configured models (from my `opencode.json`): ```json { "provider": { "github-copilot": { "models": { "gpt-5-high": { "id": "gpt-5", "options": { "reasoningEffort": "high", "textVerbosity": "low", "reasoningSummary": "auto" } } } }, "anthropic": { "models": { "sonnet-4-5-high": { "id": "claude-sonnet-4-5-20250929", "options": { "thinking": { "type": "enabled", "budgetTokens": 16000 } } }, "sonnet-4-5-med": { "id": "claude-sonnet-4-5-20250929", "options": { "thinking": { "type": "enabled", "budgetTokens": 8000 } } }, "sonnet-4-5-low": { "id": "claude-sonnet-4-5-20250929", "options": { "thinking": { "type": "enabled", "budgetTokens": 2000 } } } } } } } ``` ### OpenCode version 1.0.61 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System Mac OS 15.6.1 ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 17:37:21 -05:00
yindo closed this issue 2026-02-16 17:37:21 -05:00
Author
Owner

@rekram1-node commented on GitHub (Nov 12, 2025):

@jbuckmccready if u set the "name" field they will appear as expected ill fix this tho.

@rekram1-node commented on GitHub (Nov 12, 2025): @jbuckmccready if u set the "name" field they will appear as expected ill fix this tho.
Author
Owner

@rekram1-node commented on GitHub (Nov 12, 2025):

fixed in next release: https://github.com/sst/opencode/commit/8addaa7e084f8bb9a838610b311aa1110dada659

@rekram1-node commented on GitHub (Nov 12, 2025): fixed in next release: https://github.com/sst/opencode/commit/8addaa7e084f8bb9a838610b311aa1110dada659
Author
Owner

@jbuckmccready commented on GitHub (Nov 12, 2025):

@jbuckmccready if u set the "name" field they will appear as expected ill fix this tho.

Thanks, adding the name fixed it, maybe want to update the doc examples here to have the "name" set: https://opencode.ai/docs/models/#configure-models

@jbuckmccready commented on GitHub (Nov 12, 2025): > [@jbuckmccready](https://github.com/jbuckmccready) if u set the "name" field they will appear as expected ill fix this tho. Thanks, adding the name fixed it, maybe want to update the doc examples here to have the "name" set: https://opencode.ai/docs/models/#configure-models
Author
Owner

@rekram1-node commented on GitHub (Nov 12, 2025):

@jbuckmccready the name set is a workaround for the bug, the bug fix will remove that need

@rekram1-node commented on GitHub (Nov 12, 2025): @jbuckmccready the name set is a workaround for the bug, the bug fix will remove that need
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2817