mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-29 23:41:35 +08:00
Finalized assistant messages rendered the thinking/tools trail inside MessageLine with marginBottom=1 before the response body — giving a clean blank line above the text. The streaming path rendered the progress ToolTrail and the streaming MessageLine as two separate siblings with no margin between, so the in-progress response butted right up against the thinking panel. That's the "newline appears after it's done" jank. Wrap the streaming MessageLine in a Box with marginTop=1 whenever the progress area is visible above it. Same spacing as the finalized version, continuous through the handoff.