Commit c6ef3ae
Revert default_model bump back to gpt-4.1
Coworker review flagged that gpt-5.5 is not a viable default:
- gpt-5 family models require the responses API, but APIProvider has no
api_type field to signal that — callers using the default would silently
hit the wrong endpoint shape
- GitHub Models never received gpt-5.5; gpt-4.1 is what's still supported
there, so 'openai/gpt-5.5' would 404
- Most callers specify models explicitly via model_config anyway, so the
default is only a fallback safety net — keep it on a model that exists
on all three providers
Reverts the registry defaults and dataclass default; keeps the gpt-5
prefix in _OpenAIProvider._CHAT_PREFIXES (direct OpenAI API does serve
gpt-5 family, and the prefix check is independent of default selection).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent f42c06b commit c6ef3ae
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
0 commit comments