feat(dashboard): Model Control flag-card UI (consumes /model-config)#56
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.py—GET/POST /api/model-configthin proxy to ops-controller (token injected server-side, mirrorsroutes_registry).index.html— Model tab +loadModelControl()/renderModelControl()/apply: fetchesGET /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-configcontrol-plane API). Merge #55 first.Validation
JS syntax validated (
node --checkover 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
ops-controllerdashboard🤖 Generated with Claude Code