Commit b53c609
committed
fix(ui): stop discarding recently used models over a missing API key
The model picker pruned the stored list of recently used models down to
whatever providers were resolvable at that moment, and saved the result.
Since a provider configured through an environment variable is only
visible when Crush is launched from a shell that exported it, opening the
picker could permanently drop history for providers that were merely
temporarily absent. Unresolvable entries are now skipped when drawing the
list and left in the config.
💘 Generated with Crush1 parent fb7abdc commit b53c609
1 file changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
458 | 463 | | |
459 | 464 | | |
460 | 465 | | |
| |||
466 | 471 | | |
467 | 472 | | |
468 | 473 | | |
469 | | - | |
470 | 474 | | |
471 | 475 | | |
472 | 476 | | |
473 | 477 | | |
474 | 478 | | |
475 | 479 | | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | 480 | | |
484 | 481 | | |
485 | 482 | | |
| |||
0 commit comments