Charles Cooper
bd646eece3
feat(coding-agent): support per-model overrides in models.json
Add modelOverrides field to provider config that allows customizing
individual built-in models without replacing the entire provider.
Example:
{
"providers": {
"openrouter": {
"modelOverrides": {
"anthropic/claude-sonnet-4": {
"compat": { "openRouterRouting": { "only": ["amazon-bedrock"] } }
}
}
}
}
}
Overrides are deep-merged with built-in model definitions. Supports:
- name, reasoning, input, contextWindow, maxTokens
- Partial cost overrides (e.g. only change input cost)
- headers (merged with existing)
- compat settings (merged with existing)
Works alongside baseUrl overrides on the same provider.
closes #1062
2026-02-06 15:35:00 +00:00
..
2026-02-03 22:49:01 +01:00
2026-02-06 15:35:00 +00:00
2026-02-06 13:16:39 +01:00
2026-02-05 21:56:57 +01:00
2026-01-15 13:14:14 +01:00
2026-02-03 22:49:01 +01:00
2026-02-03 12:20:37 +01:00
2026-02-06 00:20:52 +01:00
2026-01-05 20:26:48 +01:00