[PR #3142] [CLOSED] Dashboard: show the loaded model in the top bar and on the Model state card #4476

Closed
opened 2026-11-07 15:36:18 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/3142
Author: @vrami-dev
Created: 10/19/2026
Status: ❌ Closed

Base: main ← Head: dashboard-model-label


📝 Commits (1)

  • d578b72 Dashboard: show the loaded model in the top bar and on the Model state card

📊 Changes

4 files changed (+26 additions, -0 deletions)

View changed files

📝 serve/server.py (+7 -0)
📝 serve/web/app.css (+3 -0)
📝 serve/web/app.js (+14 -0)
📝 serve/web/index.html (+2 -0)

📄 Description

Screenshots of the Monitor never say which model is running. This shows it in the top bar (every tab) and next to the
Model state title:

Qwen3.8-Flash-Next · Swift 1.5 IQ3_S

Changes (26 lines, opt-in)

  • serve/server.py: an optional config key "display_name". /metrics reports engine.display_name and
    engine.mode, a free-form note an engine adapter can set on the Service (svc.mode_note, None here); /health
    reports display_name. Nothing changes when neither is set: the label then shows the model id.
  • serve/web/: renderModelLabel() puts <display_name or model id> · <mode> in the header and on the Model state
    card (muted text, ellipsized in the header).

Xolotl uses the mode note for DeepSeek-V4.1's routing mode (Indras-Mirror/Xolotl#13), e.g.
DeepSeek-V4.1-Flash-1017 · dsx 2-bit · light routing (0.25 / 0.15). Here it is only the hook.

Testing

  • Mock engine (serve/server.py --engine mock) with a display_name in the config: /health and /metrics carry it,
    and the Monitor renders the label (headless Chrome).
  • python -m unittest serve.test_server: 337 OK (3 skipped). serve.test_monitor: 10 OK.
  • On Windows 11 with an RTX 3090; nothing platform-specific.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/3142 **Author:** [@vrami-dev](https://github.com/vrami-dev) **Created:** 10/19/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dashboard-model-label` --- ### 📝 Commits (1) - [`d578b72`](https://github.com/Niko1221/Strata/commit/d578b7250d7ea063ef322d9e7289f6382862087d) Dashboard: show the loaded model in the top bar and on the Model state card ### 📊 Changes **4 files changed** (+26 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `serve/server.py` (+7 -0) 📝 `serve/web/app.css` (+3 -0) 📝 `serve/web/app.js` (+14 -0) 📝 `serve/web/index.html` (+2 -0) </details> ### 📄 Description Screenshots of the Monitor never say which model is running. This shows it in the top bar (every tab) and next to the Model state title: `Qwen3.8-Flash-Next · Swift 1.5 IQ3_S` ## Changes (26 lines, opt-in) - **`serve/server.py`:** an optional config key `"display_name"`. `/metrics` reports `engine.display_name` and `engine.mode`, a free-form note an engine adapter can set on the Service (`svc.mode_note`, `None` here); `/health` reports `display_name`. Nothing changes when neither is set: the label then shows the model id. - **`serve/web/`:** `renderModelLabel()` puts `<display_name or model id> · <mode>` in the header and on the Model state card (muted text, ellipsized in the header). Xolotl uses the mode note for DeepSeek-V4.1's routing mode (Indras-Mirror/Xolotl#13), e.g. `DeepSeek-V4.1-Flash-1017 · dsx 2-bit · light routing (0.25 / 0.15)`. Here it is only the hook. ## Testing - Mock engine (`serve/server.py --engine mock`) with a `display_name` in the config: `/health` and `/metrics` carry it, and the Monitor renders the label (headless Chrome). - `python -m unittest serve.test_server`: 337 OK (3 skipped). `serve.test_monitor`: 10 OK. - On Windows 11 with an RTX 3090; nothing platform-specific. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:36:18 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#4476
No description provided.