dsh-client-ui-route-badge
Verifieddsh-client-ui-route-badge Β· v0.1.1 Β· MIT Β· Web UI
Shows which backend model actually served each request when using the auto route.
Install
dsh plugin add dsh-client-ui-route-badge Confirm the layer applied with dsh --profile default --dump-config β see the install guide.
Source
Tags
Readme
dsh-client-ui-route-badge
Shows which backend model actually served each request when using auto route.
A client-side UI plugin for DeepSeek Harness Web that injects a "Route Log" panel into the conversation view, displaying real-time routing decisions from dsh-llm-router.
Features
- π Live route log table in conversation view (injected via
conversation.viewslot) - π·οΈ Color-coded kind badges: Default (blue), Vision (purple), Long Context (orange), Fallback (red)
- π’ Fallback depth indicator (
β/#1/#2) - β±οΈ Relative timestamps (εε / Nη§ε / Nειε)
- π¨ DSW design token theming (
var(--dsw-alias-*)) β follows light/dark mode - π i18n support (zh/en) via
ctx.locale.register - π Auto-refresh every 4 seconds via polling
/api/llm-router/routes - π¦ Zero host-side dependency β pure client plugin
Screenshot
(Route log panel showing recent requests with kind badges, actual models, and fallback indices)
Install
Requires dsh-llm-router installed first:
dsh plugin --profile web add dsh-llm-router
dsh plugin --profile web add dsh-client-ui-route-badge
How it works
- Extracts session ID from URL path (
/sessions/<sessionId>) - Polls
GET /api/llm-router/routes?sessionId=<id>&limit=50every 4s - Renders results as an HTML table with styled badges
License
MIT