Skip to content

[Bug]: If Kimi k2.5 model is used for main agent, all subagents inherit the Kimi model and override omo config #1265

@CarlosCommits

Description

@CarlosCommits

Prerequisites

  • I will write this issue in English (see our Language Policy)
  • 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

If you set Sisyphus as Kimi K2.5 model, when Sisyphus calls any subagent (explore or librarian for example), the subagent inherits and uses Kimi model instead of the model you have written in the omo config file.

Steps to Reproduce

  1. set Sisyphus model to Kimi K2.5
  2. In omo config, set explorer to any other agent (ex. GLM 4.7)
  3. Ask Sisyphus agent to use explorer agent
  4. View subagent model (ctrl x, right arrow)
  5. You will see the subagent is using Kimi 2.5 instead

Expected Behavior

Subagent should be using the model set in the omo config.

Actual Behavior

Subagent is inheriting Sisyphus/main agent's model when the main agent is set to Kimi

Doctor Output

nstallation
────────────────────────────────────────
  ✓ OpenCode Installation → 1.1.42
  ✓ Plugin Registration → Registered

Configuration
────────────────────────────────────────
  ✓ Configuration Validity → Valid JSONC config
  ✓ Model Resolution → 9 agents, 7 categories (9 overrides), 2368 available

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 → 2.45.0 - authenticated as CarlosCommits
  ✓ LSP Servers → 2/4 servers available
  ✓ Built-in MCP Servers → 2 built-in servers enabled
  ○ User MCP Configuration → No user MCP configuration found
  ○ MCP OAuth Tokens → No OAuth tokens configured

Updates
────────────────────────────────────────
  ✓ Version Status → Up to date (3.1.7)

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

  11 passed, 0 failed, 2 warnings, 3 skipped
  Total: 16 checks in 3069ms

⚠ All systems operational with warnings.

Error Logs

Configuration

Additional Context

No response

Operating System

Linux

OpenCode Version

1.1.42

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