When the user's active provider is custom-openai, bare model names like 'claude-haiku-4-5-20251001' (saved by /setup as subagentModel) don't route through the custom endpoint — ProviderClient::from_model dispatches them to the Anthropic provider instead, which has no credentials. Add qualify_for_provider() that prefixes bare models with 'custom/' when the provider config is custom-openai so they share the session's endpoint. Applied to both the explicit model override and the subagentModel fallback path in resolve_agent_model(). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| claw-analog | ||
| claw-rag-service | ||
| commands | ||
| compat-harness | ||
| mock-anthropic-service | ||
| plugins | ||
| runtime | ||
| rusty-claude-cli | ||
| telemetry | ||
| tools | ||