#14106: fix(model): hardcoded fallback for claude-opus-4-6 when no template exists
agents
stale
Cluster:
OpenAI Model Fixes and Updates
## Summary
- Add hardcoded fallback for `anthropic/claude-opus-4-6` in `resolveAnthropicOpus46ForwardCompatModel()` when no template model exists in the registry, preventing "Unknown model" errors
- Fix MiniMax OpenAI-compatible base URL from `api.minimax.chat` to `api.minimaxi.chat` (the correct domain with an 'i'), which caused all MiniMax completions to fail with HTTP 401
## Test plan
- [x] Existing model resolution tests pass (11/11)
- [x] MiniMax models-config test updated and passes
- [x] Image tool test updated and passes
- [x] Verified MiniMax fallback works end-to-end (Anthropic rate limit → MiniMax responds)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Most Similar PRs
#16891: fix(models): generic opus-4-6 forward-compat for all providers
by battman21 · 2026-02-15
68.5%
#13119: fix: add forward-compat for google-antigravity claude-opus-4-6 models
by sdb001 · 2026-02-10
66.5%
#19351: fix: enable tool_use/result pairing repair for MiniMax models
by thebtf · 2026-02-17
66.1%
#12220: fix: forward-compat models now respect user-configured contextWindow
by Batuhan4 · 2026-02-09
64.9%
#23800: fix: map HTTP 404 to model_not_found failover reason
by builtbyrobben · 2026-02-22
64.8%
#20747: feat(copilot): support Claude models with correct context windows (...
by yuf1011 · 2026-02-19
64.5%
#18697: fix: include forward-compat models in model catalog for allowlist val…
by dmitry-orabey · 2026-02-17
64.0%
#10831: fix(agents): set Opus 4.6 context window to 1M in forward-compat fa...
by slawt · 2026-02-07
63.9%
#19927: fix(agents): replace hardcoded Anthropic model IDs with pattern mat...
by Milofax · 2026-02-18
63.7%
#23250: feat: add Sonnet 4.6 forward compat for google-antigravity
by Oceanswave · 2026-02-22
63.5%