mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4887] [TUI] strata models explain: show why a model folder is or is not found under models/ #2246
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @XiaoBinGan on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4887
Problem
0.2.7 fixed the case-sensitive-disk bug in #3996:
Catalog.model_folder()now tries setup's own spelling (models/IQ3_S), then the lower-case run-config tag (models/iq3_s), then a folder that differs only in letter case, and falls back to setup's spelling. That fix is the right one, but when a model still shows as "not on this computer" there is nothing that shows what the launch actually looked for and why it did not find the folder. The person sees the plan's "about X GB to download" and has to guess folder names inside the data folder.Proposed scope
One new read-only subcommand:
strata models explain NAME.IQ3_S,iq3_s,--family qwen, and thefamily/modelspelling the model table uses (qwen/IQ3_S).exists: yes/no, the folder it would use and why (exact spelling,lower-case tag,case-insensitive match,fallback), and the.gguffiles it counts with their total bytes.models/, names only), so a renamed folder or a different data folder is visible at a glance.--output jsonlike the othermodelscommands.Shape: a
models explainsubcommand rather thanmodels show --explain. Themodelsgroup is verbs today (list,inspect,import,move) and has noshow, so a new verb fits it; an--explainflag would need ashowcommand that does not exist and would have to explain whatshowshows.This is a small, opt-in diagnostic (no default path changes). The PR that follows adds the subcommand, unit tests with temp directories (
IQ3_Sandiq3_svariants, and a case-insensitive match on a disk the test makes case-sensitive), and a short section indocs/TERMINAL.md/docs/TERMINAL_LAUNCH.md.Environment (not needed to reproduce this one)
This is a request for a read-only diagnostic: it needs no graphics card and no model, and the pull request's tests build temp directories. For the record, the checkout used to check the behaviour was:
c62d5e3a@github-actions[bot] commented on GitHub (Nov 1, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@github-actions[bot] commented on GitHub (Nov 1, 2026):
Thanks, this follows the format now.