Skip to content

The agent that grows with you

refactor(local-runtime): tags grab-bag becomes an explicit recommended flag

emozillac8d9d5a55797
diff --git a/apps/desktop/src/app/settings/local-models-settings.test.tsx b/apps/desktop/src/app/settings/local-models-settings.test.tsx
index 93f3cf01ece..5114eff925a 100644
--- a/apps/desktop/src/app/settings/local-models-settings.test.tsx
+++ b/apps/desktop/src/app/settings/local-models-settings.test.tsx
@@ -65,7 +65,7 @@ const FITTING_MODEL: LocalCatalogModel = {
size_label: '17.6 GB',
native_context: 262144,
native_context_label: '256K',
- tags: ['recommended'],
+ recommended: true,
downloaded: false,
mtp: false,
fits: true,
@@ -79,7 +79,7 @@ const SPILLED_MODEL: LocalCatalogModel = {
...FITTING_MODEL,
id: 'Spilled-Model',
display_name: 'Spilled Model',
- tags: [],
+ recommended: false,
fits: true,
spilled: true,
start_window: 65536,
@@ -91,7 +91,7 @@ const REFUSED_MODEL: LocalCatalogModel = {
...FITTING_MODEL,
id: 'Huge-Model',
display_name: 'Huge Model',
- tags: [],
+ recommended: false,
fits: false,
fit_summary: 'Needs more memory than this machine has',
fit_detail: 'needs ~60 GiB at the 64K floor',
diff --git a/apps/desktop/src/app/settings/local-models-settings.tsx b/apps/desktop/src/app/settings/local-models-settings.tsx
index 82be9aa96c0..de1e391b09f 100644
--- a/apps/desktop/src/app/settings/local-models-settings.tsx
+++ b/apps/desktop/src/app/settings/local-models-settings.tsx
@@ -556,7 +556,7 @@ export function LocalModelsSettings() {
<span className="inline-flex items-center gap-2">
{model.display_name}
- {model.tags.includes('recommended') && <Pill tone="primary">{copy.recommended}</Pill>}
+ {model.recommended && <Pill tone="primary">{copy.recommended}</Pill>}
<span className="text-[0.68rem] font-normal text-muted-foreground">
{model.downloaded_quant ?? model.quant ?? ''}
diff --git a/apps/desktop/src/types/hermes.ts b/apps/desktop/src/types/hermes.ts
index 2d3dd493459..a17fe2e0c3d 100644
--- a/apps/desktop/src/types/hermes.ts
+++ b/apps/desktop/src/types/hermes.ts
@@ -1259,7 +1259,7 @@ export interface LocalCatalogModel {
size_label: string
native_context: number
native_context_label: string
- tags: string[]
+ recommended: boolean
downloaded: boolean
downloaded_model_id?: string | null
downloaded_quant?: string | null
diff --git a/hermes_cli/local_runtime/catalog.json b/hermes_cli/local_runtime/catalog.json
index 437af775ee0..503da56c051 100644
--- a/hermes_cli/local_runtime/catalog.json
+++ b/hermes_cli/local_runtime/catalog.json
@@ -60,13 +60,7 @@
"top-k": "20",
"min-p": "0.0"
},
- "tags": [
- "recommended",
- "hybrid",
- "reasoning",
- "vision",
- "day-0"
- ]
+ "recommended": true
},
{
"id": "qwen3.6-35b-a3b",
@@ -130,13 +124,7 @@
"top-p": "0.95",
"top-k": "20",
"min-p": "0.0"
- },
- "tags": [
- "hybrid",
- "moe",
- "mtp",
- "vision"
- ]
+ }
},
{
"id": "nemotron-3.5-lightning-30b",
@@ -192,14 +180,7 @@
"temp": "0.6",
"top-p": "0.95",
"min-p": "0.01"
- },
- "tags": [
- "day-0",
- "long-context",
- "hybrid",
- "moe",
- "mtp"
- ]
+ }
},
{
"id": "muse-glimmer-30b",
@@ -257,12 +238,7 @@
"temp": "1.0",
"top-p": "0.95",
"top-k": "64"
- },
- "tags": [
- "day-0",
- "vision",
- "dense"
- ]
+ }
},
{
"id": "deepseek-v4-flash",
@@ -335,13 +311,7 @@
"temp": "1.0",
"top-p": "0.95",
"min-p": "0.01"
- },
- "tags": [
- "day-0",
- "long-context",
- "moe",
- "frontier"
- ]
+ }
}
]
}
diff --git a/hermes_cli/local_runtime/catalog.py b/hermes_cli/local_runtime/catalog.py
index 17709531f0a..09747502706 100644
--- a/hermes_cli/local_runtime/catalog.py
+++ b/hermes_cli/local_runtime/catalog.py
@@ -155,7 +155,7 @@ class CatalogEntry:
# architectures need the release where their support landed). Empty
# means any installed engine. The pane gates download/activate on it.
min_engine: str = ""
- tags: tuple = field(default_factory=tuple)
+ recommended: bool = False # the catalog's default pick, one entry
def profile(self, variant: QuantVariant) -> ModelProfile:
layers = ([(LayerKind.FULL, self.per_layer_f16)] * self.full_layers
@@ -291,7 +291,7 @@ def _load_catalog(doc: dict) -> "tuple[CatalogEntry, ...]":
draft=_asset_from(m.get("draft")),
sampling=dict(m.get("sampling", {})),
min_engine=str(m.get("min_engine", "")),
- tags=tuple(m.get("tags", ())),
+ recommended=bool(m.get("recommended")),
))
return tuple(entries)
diff --git a/hermes_cli/web_routers/local_models.py b/hermes_cli/web_routers/local_models.py
index 758c31a51aa..e3991ddf0f1 100644
--- a/hermes_cli/web_routers/local_models.py
+++ b/hermes_cli/web_routers/local_models.py
@@ -505,7 +505,7 @@ async def local_models_catalog():
"description": entry.description,
"native_context": entry.n_ctx_train,
"native_context_label": f"{entry.n_ctx_train // 1024}K",
- "tags": list(entry.tags),
+ "recommended": entry.recommended,
"downloaded": downloaded_variant is not None,
"downloaded_model_id": downloaded_variant.model_id if downloaded_variant else None,
"downloaded_quant": downloaded_variant.quant if downloaded_variant else None,
diff --git a/tests/hermes_cli/test_catalog_variants.py b/tests/hermes_cli/test_catalog_variants.py
index 6b775a4295e..dedd0227f9c 100644
--- a/tests/hermes_cli/test_catalog_variants.py
+++ b/tests/hermes_cli/test_catalog_variants.py
@@ -32,12 +32,11 @@ def test_variants_ordered_best_first_and_floor_is_q4():
for asset in entry.download_files(v):
assert asset.size_bytes > 0, f"{entry.id}/{v.quant}: no size on {asset.path}"
# The quality floor: the ladder ends at Q4 — no Q3/Q2 builds ship
- # (product decision, 2026-08-09). Every floor rung is either
- # validated on real hardware or an explicit day-0 entry.
+ # (product decision, 2026-08-09). Validation status is explicit
+ # per variant in catalog.json; unvalidated floors are permitted
+ # (day-0 entries) and surface as unbadged rows in the pane.
floor = entry.variants[-1]
assert floor.quant == "UD-Q4_K_XL", f"{entry.id}: ladder floor is {floor.quant}, not Q4"
- assert floor.validated or "day-0" in entry.tags, (
- f"{entry.id}: floor rung neither validated nor tagged day-0")
def test_split_variants_have_coherent_parts():