Name each file by its quantisation first in the console's plan

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ilker ManapandClaude Opus 5.5 committed 2026-10-04 01:09:05 +02:00
1 parent 0ea3008f64
commit 3b66784f22
1 file changed
+7 -1
+7 -1
View File
@@ -140,7 +140,13 @@ func (m consoleModel) repoMenu(p modelserve.Plan) *menuDialog {
if a.Format == "safetensors" {
name = "original weights"
}
label := fmt.Sprintf("%-40s %8s ", truncate(name, 40), bytesShort(a.Bytes))
// The quantisation first: long names end in it, and it is what
// tells one file of a repository from the next.
q := a.Quant
if a.Shards > 1 && a.Format == "gguf" {
q += fmt.Sprintf(" ×%d", a.Shards)
}
label := fmt.Sprintf("%-10s %-30s %8s ", q, truncate(name, 30), bytesShort(a.Bytes))
switch {
case a.Best == nil:
label += sBad.Render("fits nowhere")