#19774: Allow explicit model allowlist entries missing from provider catalogs
gateway
agents
size: S
Cluster:
Model Management Enhancements
## Summary
- treat exact entries in `agents.defaults.models` as authoritative allowlist keys even when provider discovery catalogs don't list them (e.g. Bedrock inference profile IDs)
- keep session and subagent model overrides stable for explicitly allowlisted catalog-missing models instead of silently resetting to primary
- add regression coverage across model-selection core logic, reply model inheritance, session patching, and subagent spawn defaults
## Testing
- targeted test execution was not possible in this environment (`pnpm` is unavailable)
Fixes #19460
Most Similar PRs
#9583: fix(models): allow models in agents.defaults.models even if not in ...
by hotzen100 · 2026-02-05
71.9%
#6875: test: add coverage for sessions_spawn model + agentId (#6817)
by whoknowsmann · 2026-02-02
69.5%
#6673: fix: preserve allowAny flag in createModelSelectionState for custom...
by tenor0 · 2026-02-01
67.8%
#20954: feat: per-agent model allowlist
by coletebou · 2026-02-19
67.2%
#9822: fix: allow local/custom model providers for sub-agent inference
by stammtobias91 · 2026-02-05
65.8%
#21556: fix(agents): graceful fallback when spawned model is not in allowlist
by irchelper · 2026-02-20
65.8%
#7570: fix: allow models from providers with auth profiles configured
by DonSqualo · 2026-02-03
65.7%
#14508: fix(models): allow forward-compat models in allowlist check
by jonisjongithub · 2026-02-12
65.4%
#21088: fix: sessions_sspawn model override ignored for sub-agents
by Slats24 · 2026-02-19
65.3%
#23694: fix: allow OAuth provider models in isolated sessions
by maximalmargin · 2026-02-22
65.0%