You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Anthropic direct provider fails with ProviderModelNotFoundError for subagents #29218
The Anthropic provider works in opencode models but subagents
using model: "anthropic/claude-sonnet-4-5" get ProviderModelNotFoundError.
BAI and OpenRouter subagents work fine.
Steps
Enable anthropic provider in opencode.jsonc
Set subagent model to anthropic/claude-sonnet-4-5
Dispatch via Task tool → error
Environment
Windows 11, OpenCode latest, Claude Max subscription, OAuth auth
Activity
github-actions commentedon May 25, 2026
This issue might be a duplicate of existing issues. Please check:
rekram1-node commentedon May 26, 2026
@xiaolele8858 cannot reproduce:
This works just fine for me w/ task tool.
Can u reproduce w/
opencode --pure?github-actions commentedon Jul 26, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.