openclaw/ui
Ganghyun Kim 71457fa100
fix(tui): strip <final> tags in TUI display (#1613)
Add <final> tag handling to stripThinkingTags() to prevent reasoning-tag
provider responses from leaking incomplete tags during streaming.

When using providers like google-antigravity/*, ollama, or minimax, the
model wraps responses in <think>...</think> and <final>...</final> tags.
The TUI was only stripping <think> tags, causing <final> to leak through
and display as the response ~50% of the time.

This is a defense-in-depth fix for the TUI layer.

Fixes: #1561

Co-authored-by: Claude Code <noreply@anthropic.com>
2026-01-24 19:52:34 +00:00
..
public feat(ui): add favicon.ico from Mac app icon (#305) 2026-01-06 10:41:19 -06:00
src fix(tui): strip <final> tags in TUI display (#1613) 2026-01-24 19:52:34 +00:00
index.html fix(ui): landing cleanup (#475) (thanks @rahthakor) 2026-01-09 19:53:32 +01:00
package.json chore: update deps and test timeout 2026-01-24 10:30:30 +00:00
tsconfig.json fix(control-ui): serve dashboard at root 2025-12-19 05:11:08 +00:00
vite.config.ts fix(ui): default to relative paths for control UI assets 2026-01-09 15:32:55 +01:00
vitest.config.ts chore: update deps and add control ui routing tests 2025-12-30 14:30:46 +01:00