ProviderModelNotFoundError shows up when executing tasks #7893

Closed
opened 2026-02-16 18:08:35 -05:00 by yindo · 3 comments
Owner

Originally created by @zed-wong on GitHub (Jan 28, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Image

I am using OpenCode 1.1.40 on Ubuntu 25.10 with GPT 5.2 Codex (OAuth), when executing tasks, ProviderModelNotFoundError (claude-haiku-4.5) often shows up and I have to resize the window to make it disappear

Plugins

oh-my-opencode

OpenCode version

1.1.40

Steps to reproduce

  1. Open opencode
  2. Select GPT 5.2 Codex (OAuth) model
  3. Execute a task that could possibly trigger delegate_task

Screenshot and/or share link

Image

Operating System

Ubuntu 25.10

Terminal

gnome-terminal

Originally created by @zed-wong on GitHub (Jan 28, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description <img width="2858" height="1176" alt="Image" src="https://github.com/user-attachments/assets/6dac2bd5-cbb8-4ae6-b0ab-c0984082cd19" /> I am using OpenCode 1.1.40 on Ubuntu 25.10 with GPT 5.2 Codex (OAuth), when executing tasks, ProviderModelNotFoundError (claude-haiku-4.5) often shows up and I have to resize the window to make it disappear ### Plugins oh-my-opencode ### OpenCode version 1.1.40 ### Steps to reproduce 1. Open opencode 2. Select GPT 5.2 Codex (OAuth) model 3. Execute a task that could possibly trigger delegate_task ### Screenshot and/or share link <img width="2858" height="1176" alt="Image" src="https://github.com/user-attachments/assets/777e0815-3c7f-421c-abbf-0dae284ac536" /> ### Operating System Ubuntu 25.10 ### Terminal gnome-terminal
yindo added the bug label 2026-02-16 18:08:35 -05:00
yindo closed this issue 2026-02-16 18:08:35 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 28, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #10631: ModelNotFoundError causes UI disruption and stack trace instead of friendly error message
  • #10994: Getting ModelProviderNotFound only on qwen3, using this in CLI works fine just not agent definitions

These issues describe similar model identifier resolution errors that can cause UI disruption. Feel free to ignore if your specific case differs.

@github-actions[bot] commented on GitHub (Jan 28, 2026): This issue might be a duplicate of existing issues. Please check: - #10631: ModelNotFoundError causes UI disruption and stack trace instead of friendly error message - #10994: Getting ModelProviderNotFound only on qwen3, using this in CLI works fine just not agent definitions These issues describe similar model identifier resolution errors that can cause UI disruption. Feel free to ignore if your specific case differs.
Author
Owner

@rekram1-node commented on GitHub (Jan 28, 2026):

I think this is a bug in your omo setup

@rekram1-node commented on GitHub (Jan 28, 2026): I think this is a bug in your omo setup
Author
Owner

@zed-wong commented on GitHub (Jan 29, 2026):

This is my .config/opencode/oh-my-opencode.json:

{
  "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
  "google_auth": false,
  "agents": {
    "sisyphus": {
      "model": "opencode/glm-4.7-free"
    },
    "librarian": {
      "model": "opencode/glm-4.7-free"
    },
    "explore": {
      "model": "google/antigravity-gemini-3-flash"
    },
    "frontend-ui-ux-engineer": {
      "model": "google/antigravity-gemini-3-pro-high"
    },
    "document-writer": {
      "model": "google/antigravity-gemini-3-flash"
    },
    "multimodal-looker": {
      "model": "google/antigravity-gemini-3-flash"
    }
  }
}

@zed-wong commented on GitHub (Jan 29, 2026): This is my `.config/opencode/oh-my-opencode.json`: ``` { "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", "google_auth": false, "agents": { "sisyphus": { "model": "opencode/glm-4.7-free" }, "librarian": { "model": "opencode/glm-4.7-free" }, "explore": { "model": "google/antigravity-gemini-3-flash" }, "frontend-ui-ux-engineer": { "model": "google/antigravity-gemini-3-pro-high" }, "document-writer": { "model": "google/antigravity-gemini-3-flash" }, "multimodal-looker": { "model": "google/antigravity-gemini-3-flash" } } } ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7893