fix: add markdown rendering to chat UI and update CUJ2 documentation#159
Merged
mchmarny merged 3 commits intoNVIDIA:mainfrom Feb 20, 2026
Merged
Conversation
The chat UI was displaying raw markdown from model responses. Add a self-contained markdown-to-HTML renderer that handles headings, bold/italic, lists, code blocks, and horizontal rules. Also make the server re-read chat.html on each request for easier development. Add Dynamo inference architecture diagram to CUJ2 showing the Client → Frontend → NATS → VllmDecodeWorker request flow. Signed-off-by: Yuan Chen <'"$EMAIL"'>
10 tasks
mchmarny
approved these changes
Feb 20, 2026
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.
Summary
Add markdown rendering to the Dynamo chat UI so model responses display formatted headings, bold text, lists, and code blocks instead of raw markdown. Also add the Dynamo inference architecture diagram to CUJ2.
Motivation / Context
The chat UI at
http://127.0.0.1:9090/chat.htmlwas displaying raw markdown syntax (e.g.,### **Heading**,- **item**) from model responses as plain text, making responses hard to read.Fixes: N/A
Related: N/A
Type of Change
Component(s) Affected
cmd/eidos,pkg/cli)cmd/eidosd,pkg/api,pkg/server)pkg/recipe)pkg/bundler,pkg/component/*)pkg/collector,pkg/snapshotter)pkg/validator)pkg/errors,pkg/k8s)docs/,examples/)Implementation Notes
textContentwithinnerHTML+ a self-contained markdown-to-HTML renderer (no CDN dependencies)<think>...</think>blocks from reasoning models are still stripped and shown in a styled "thinking" boxchat.htmlon each request for easier development iterationTesting
Risk Assessment
Rollout notes: N/A
Checklist
make testwith-race)make lint)git commit -S) — GPG signing info