Commit bf46d8b
Studio autoload: folder quant fallback, scan own path, skip cached adapters
Second round of review follow-ups, verified against the backend services:
- A failed remembered local quant now excludes only that exact candidate
key instead of marking the whole row seen, so another complete quant in
the same folder can still load (mirrors the managed-cache remembered
path).
- Quant resolution for a local GGUF folder scans the folder itself via a
local-path repo id; the cache-first prefer_local_cache flow could return
a cache quant missing from the folder when the row also has a Hub
model_id.
- Cached adapter repos are chat-capable in the cached inventory and
resolve a base model on load, so they are excluded from background
auto-load like local adapter rows.
Contract tests extended for all three.1 parent db78555 commit bf46d8b
2 files changed
Lines changed: 45 additions & 7 deletions
File tree
- studio/frontend/src/features/chat/api
- tests/studio
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
1439 | 1440 | | |
1440 | 1441 | | |
1441 | 1442 | | |
1442 | | - | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
1443 | 1446 | | |
1444 | 1447 | | |
1445 | 1448 | | |
1446 | 1449 | | |
| 1450 | + | |
1447 | 1451 | | |
1448 | 1452 | | |
1449 | 1453 | | |
| 1454 | + | |
1450 | 1455 | | |
1451 | 1456 | | |
1452 | 1457 | | |
| |||
1524 | 1529 | | |
1525 | 1530 | | |
1526 | 1531 | | |
1527 | | - | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
1528 | 1538 | | |
1529 | 1539 | | |
1530 | 1540 | | |
| |||
1952 | 1962 | | |
1953 | 1963 | | |
1954 | 1964 | | |
1955 | | - | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
1956 | 1970 | | |
1957 | | - | |
| 1971 | + | |
1958 | 1972 | | |
1959 | 1973 | | |
1960 | 1974 | | |
| |||
1972 | 1986 | | |
1973 | 1987 | | |
1974 | 1988 | | |
1975 | | - | |
| 1989 | + | |
| 1990 | + | |
1976 | 1991 | | |
1977 | | - | |
| 1992 | + | |
1978 | 1993 | | |
1979 | 1994 | | |
1980 | 1995 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
531 | 534 | | |
532 | 535 | | |
533 | 536 | | |
| |||
640 | 643 | | |
641 | 644 | | |
642 | 645 | | |
643 | | - | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
644 | 653 | | |
645 | 654 | | |
646 | 655 | | |
647 | 656 | | |
648 | 657 | | |
649 | 658 | | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
0 commit comments