mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
Zen models (qwen3-based) emit <think>...</think> blocks inline in the answer stream. These were rendered as raw text in both the TUI and CLI. Added ThinkTagFilter that handles streaming deltas where tags can span multiple chunks. Applied to both: - TUI streaming controller (push_and_maybe_commit + apply_final_answer) - CLI event processor (AgentMessageDelta + AgentMessage) Also increased assistant message background tint from 5% to 12% — the original value was nearly invisible on dark/black terminals (resulted in RGB ~(6,10,13) which looked identical to pure black).