Bug Description
The OMC setup/installation generates model names with dashes for github-copilot/ provider (e.g., github-copilot/claude-sonnet-4-6), but OpenCode registers these models with dots (e.g., github-copilot/claude-sonnet-4.6).
This causes the error:
Agent Atlas - Plan Executor's configured model github-copilot/claude-sonnet-4-6 is not valid
Root Cause
The anthropic/ provider uses dashes in version numbers (anthropic/claude-sonnet-4-6), but github-copilot/ uses dots (github-copilot/claude-sonnet-4.6). The config generation doesn't account for this difference and uses dashes uniformly.
Affected Models
| Generated (broken) |
Actual (valid) |
github-copilot/claude-sonnet-4-6 |
github-copilot/claude-sonnet-4.6 |
github-copilot/claude-opus-4-6 |
github-copilot/claude-opus-4.6 |
github-copilot/claude-haiku-4-5 |
github-copilot/claude-haiku-4.5 |
Workaround
Manually replace all github-copilot/claude-*-4-6 → *-4.6 and *-4-5 → *-4.5 in ~/.config/opencode/oh-my-openagent.json.
Environment
- oh-my-openagent: 3.15.0 (config references v3.17.4 schema)
- OpenCode: latest
- OS: macOS
Bug Description
The OMC setup/installation generates model names with dashes for
github-copilot/provider (e.g.,github-copilot/claude-sonnet-4-6), but OpenCode registers these models with dots (e.g.,github-copilot/claude-sonnet-4.6).This causes the error:
Root Cause
The
anthropic/provider uses dashes in version numbers (anthropic/claude-sonnet-4-6), butgithub-copilot/uses dots (github-copilot/claude-sonnet-4.6). The config generation doesn't account for this difference and uses dashes uniformly.Affected Models
github-copilot/claude-sonnet-4-6github-copilot/claude-sonnet-4.6github-copilot/claude-opus-4-6github-copilot/claude-opus-4.6github-copilot/claude-haiku-4-5github-copilot/claude-haiku-4.5Workaround
Manually replace all
github-copilot/claude-*-4-6→*-4.6and*-4-5→*-4.5in~/.config/opencode/oh-my-openagent.json.Environment