Repository navigation
Commit 13069a5
fix(server): text generation skips a saved provider that cannot generate text
A provider snapshot with supportsTextGeneration: false was only skipped
when picking a fallback. A saved selection that already pointed at it,
such as Pi whose launch arguments name an extension-only provider, still
dispatched there and failed. The dispatch gate now treats that snapshot
as unusable and uses the existing fallback.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent f68ddf0 commit 13069a5
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
| 550 | + | |
550 | 551 | | |
551 | 552 | | |
552 | 553 | | |
| |||
586 | 587 | | |
587 | 588 | | |
588 | 589 | | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
589 | 593 | | |
590 | 594 | | |
591 | 595 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
0 commit comments