Commit c8e70fc
committed
fix(failover): allow model fallback on harness transport timeout
When a harness-owned transport provider (Ollama, etc.) times out,
resolveRunFailoverDecision immediately surfaced the error without
attempting the configured fallback chain. This is inconsistent with
the behavior for auth and billing failures, which both trigger
fallback_model when fallbacks are configured.
Fix: check fallbackConfigured before surfacing timeout errors from
harness-owned transports, matching the existing flow for other
failure modes.
Closes #955741 parent 63fdc57 commit c8e70fc
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
181 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
182 | 191 | | |
183 | 192 | | |
184 | 193 | | |
| |||
0 commit comments