Skip to content

[Bug]: Agent orchestrator-sisyphus's configured model anthropic/claude-sonnet-4-5 is not valid #601

@657KB

Description

@657KB

Prerequisites

  • I have searched existing issues to avoid duplicates
  • I am using the latest version of oh-my-opencode
  • I have read the documentation

Bug Description

When I switch the agent to Orchestrator-Sisyphus, a prompt always pops up in the top-right corner saying, “Agent orchestrator-sisyphus's configured model anthropic/claude-sonnet-4-5 is not valid.”

I configured a custom model for the orchestrator-sisyphus agent.

Steps to Reproduce

  1. Configure a custom model for orchestrator-sisyphus.
  2. Launch Open Code.
  3. Switch the agent to Orchestrator-Sisyphus.
  4. A notification appears in the top-right corner: “Agent orchestrator-sisyphus's configured model anthropic/claude-sonnet-4-5 is not valid.”

Expected Behavior

If a model is configured for orchestrator-sisyphus and the model is available, the message “Agent orchestrator-sisyphus's configured model anthropic/claude-sonnet-4-5 is not valid.” should not appear.

Actual Behavior

Regardless of whether the orchestrator-sisyphus model configuration is valid, every time I switch to the Orchestrator-Sisyphus agent, a notification always appears in the top-right corner: “Agent orchestrator-sisyphus's configured model anthropic/claude-sonnet-4-5 is not valid.”

Doctor Output

Installation
────────────────────────────────────────
  ✓ OpenCode Installation → 1.1.6
  ✓ Plugin Registration → Registered (pinned: 2.14.0)

Configuration
────────────────────────────────────────
  ✓ Configuration Validity → Valid JSON config

Authentication
────────────────────────────────────────
  ✓ Anthropic (Claude) Auth → Auth plugin available
  ○ OpenAI (ChatGPT) Auth → Auth plugin not installed
  ✓ Google (Gemini) Auth → Auth plugin available

Dependencies
────────────────────────────────────────
  ✓ AST-Grep CLI → installed
  ⚠ AST-Grep NAPI → Not installed (optional)
  ⚠ Comment Checker → Not installed (optional)

Tools & Servers
────────────────────────────────────────
  ⚠ GitHub CLI → Not installed (optional)
  ⚠ LSP Servers → No LSP servers detected
  ✓ Built-in MCP Servers → 2 built-in servers enabled
  ○ User MCP Configuration → No user MCP configuration found

Updates
────────────────────────────────────────
  ✓ Version Status → Pinned to version 2.14.0

Summary
────────────────────────────────────────

  8 passed, 0 failed, 4 warnings, 2 skipped
  Total: 14 checks in 261ms

⚠ All systems operational with warnings.

Error Logs

Configuration

{
  "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
  "google_auth": false,
  "claude_code": {
    "mcp": false,
    "commands": false,
    "skills": false,
    "agents": false,
    "hooks": false
  },
  "disabled_hooks": [
    "session-notification"
  ],
  "agents": {
    "Sisyphus": {
      "model": "google/antigravity-claude-opus-4-5-thinking-high"
    },
    "orchestrator-sisyphus": {
      "model": "google/antigravity-claude-opus-4-5-thinking-high"
    },
    "librarian": {
      "model": "google/antigravity-gemini-3-flash"
    },
    "explore": {
      "model": "google/antigravity-gemini-3-flash"
    },
    "oracle": {
      "model": "openai/gpt-5.2"
    },
    "frontend-ui-ux-engineer": {
      "model": "google/antigravity-gemini-3-pro-high"
    },
    "document-writer": {
      "model": "google/antigravity-gemini-3-pro-high"
    },
    "multimodal-looker": {
      "model": "google/antigravity-gemini-3-flash"
    },
    "Prometheus (Planner)": {
      "model": "google/antigravity-claude-opus-4-5-thinking-high"
    },
    "Metis (Plan Consultant)": {
      "model": "google/antigravity-claude-opus-4-5-thinking-high"
    }
  }
}

Additional Context

It looks like the model is hardcoded.

model: "anthropic/claude-sonnet-4-5",

Operating System

Linux

OpenCode Version

1.1.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions