Commit 1f01a42
committed
fix: prevent model selection failures when API requests fail (fixes RooCodeInc#3813, RooCodeInc#3874)
- Use Promise.allSettled instead of Promise.all to handle provider API failures gracefully
- Fix model initialization logic in ModelPicker component
- Ensures models can be selected even when some provider APIs fail1 parent b8aa4b4 commit 1f01a42
File tree
2 files changed
+14
-6
lines changed- src/core/webview
- webview-ui/src/components/settings
2 files changed
+14
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
| 292 | + | |
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
299 | 305 | | |
300 | 306 | | |
301 | 307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
100 | 104 | | |
101 | | - | |
102 | | - | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
0 commit comments