Files
GenericAgent/frontends
yanghang 80af6b981c fix(tui): strip <summary>/<thinking> tags before Markdown render
These are agent-internal metadata: <summary> already feeds the sidebar
preview and the fold title, <thinking> is meant to be hidden. They were
leaking into the chat body, and worse, CommonMark parses
'<summary>X</summary>\n<body>' (no blank line between) as a single HTML
block that swallows the following body line — so the model's actual
reply disappeared from view whenever it wrote the summary tag immediately
before its answer with only a single newline.

Strip both tags in _render_md before passing to the Markdown parser.
2026-05-16 21:41:19 +08:00
..
2026-05-14 22:46:06 +08:00