Skip to content

feat(dashboard): Model Control flag-card UI (consumes /model-config)#56

Merged
AlienWalker1995 merged 2 commits into
mainfrom
feat/model-control-dashboard-ui
Jun 23, 2026
Merged

feat(dashboard): Model Control flag-card UI (consumes /model-config)#56
AlienWalker1995 merged 2 commits into
mainfrom
feat/model-control-dashboard-ui

Conversation

@AlienWalker1995

Copy link
Copy Markdown
Owner

What

The dashboard front-end for model control — a Firebase/LaunchDarkly-style flag-card UI. A new Model tab where every llama.cpp launch parameter is a typed, validated field with an inherited/override pill + reset, a model dropdown, and one Apply & restart.

  • routes_model_config.pyGET/POST /api/model-config thin proxy to ops-controller (token injected server-side, mirrors routes_registry).
  • index.html — Model tab + loadModelControl()/renderModelControl()/apply: fetches GET /model-config, renders grouped flag cards from the schema descriptors, Apply POSTs only the changed overrides → ops-controller renders .env + recreates.

Depends on

#55 (the /model-config control-plane API). Merge #55 first.

Validation

JS syntax validated (node --check over the full inline script). Live end-to-end needs #55 + this merged and ops-controller + dashboard images rebuilt — see the checklist below.

Post-merge validation checklist

🤖 Generated with Claude Code

Hermes Bot and others added 2 commits June 23, 2026 11:25
LaunchDarkly/Firebase-style control plane for llama.cpp launch params: a "Model"
tab where every flag (model, ctx, rope/YaRN, override-kv, KV quant, MTP, mmproj,
gen-caps, ...) is a typed, validated field with an inherited/override pill + reset,
a model dropdown, and one "Apply & restart" that POSTs the diff.

- routes_model_config.py: GET/POST /api/model-config proxy to ops-controller
  (token injected server-side, like routes_registry).
- index.html: Model tab + loadModelControl()/renderModelControl()/apply (grouped
  flag cards from GET /model-config; Apply -> POST overrides -> recreate).

Depends on the control-plane API in #55. JS validated via node --check.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Each flag label shows a native tooltip + a hover (i) marker sourced from the
schema's help text (GET /model-config descriptors).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@AlienWalker1995 AlienWalker1995 merged commit 2fca900 into main Jun 23, 2026
5 checks passed
@AlienWalker1995 AlienWalker1995 deleted the feat/model-control-dashboard-ui branch June 23, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant