Skip to content

[Bug]: Sub-Agents Use Orchestrator Model After Orchestrator Using a Skill #408

@hesprs

Description

@hesprs

What happened, and what did you expect?

I told the Orchestrator (gpt-5.4) to use a skill, it used the skill and delegated an explorer. In my config, the explorer is gpt-5.4-mini, however, both OpenCode UI and my API usage log showed the explorer was gpt-5.4. I experimented several times and the bug is reproducible.

Steps to reproduce

  1. Enter the prompt below to Orchestrator:
Use (any skill name) skill, then delegate an explorer and tell it to do nothing.
Don't do anything real, I'm testing whether the agents and skills are working.
  1. Wait for the model to delegate.
  2. Ctrl+X Down to view subagents.
  3. The model in OpenCode TUI is gpt-5.4, not gpt-5.4-mini as configured.
Image Image

Where The Bug Does Not Appear

Delegate without using skills on beforehand:

Image Image

/preset command returns correct config:

Image

oh-my-opencode.json

{
	"$schema": "https://unpkg.com/oh-my-opencode-slim@latest/oh-my-opencode-slim.schema.json",
	"preset": "best",
	"presets": {
		"best": {
			"orchestrator": {
				"model": "openai/gpt-5.4",
				"skills": ["*"],
				"mcps": ["*"]
			},
			"oracle": {
				"model": "openai/gpt-5.4",
				"skills": [],
				"mcps": [],
				"variant": "high"
			},
			"designer": {
				"model": "google/gemini-3.1-pro-preview",
				"skills": ["agent-browser"],
				"mcps": []
			},
			"explorer": {
				"model": "openai/gpt-5.4-mini",
				"skills": [],
				"variant": "low",
				"mcps": []
			},
			"librarian": {
				"model": "openai/gpt-5.4-mini",
				"skills": [],
				"variant": "low",
				"mcps": ["websearch", "context7", "grep_app"]
			},
			"fixer": {
				"model": "openai/gpt-5.4-mini",
				"variant": "low",
				"skills": [],
				"mcps": []
			}
		}
	},
	"todoContinuation": {
		"autoEnable": false
	},
	"balanceProviderUsage": false,
	"fallback": { "enabled": false },
	"council": {
		"master": { "model": "openai/gpt-5.4" },
		"presets": {
			"default": {
				"alpha": { "model": "google/gemini-3.1-pro-preview" }
			}
		}
	}
}

OpenCode version

1.14.22

oh-my-opencode-slim version

1.0.3

Operating system

Linux (NixOS 26.05)

Logs, screenshots, or extra context

(There is an issue with your issue template, I cannot paste screenshot into this field)
(Reading your issue template YAML, I suggest you to delete `render: shell` for this field. This will make this field a normal Markdown input so that issue reporters can paste images)

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