mirror of
https://github.com/patriceckhart/zot.git
synced 2026-06-26 21:36:31 +02:00
Each assistant API message used to draw its own "zot" header, so a turn that round-tripped through several tool_use / tool_result pairs showed multiple headers (or, when the first assistant message was pure tool_use, the header appeared late and earlier tool blocks visibly snapped underneath it once the model started emitting text). Track whether the previous non-compaction message in the transcript belongs to the same turn (assistant or tool role) and suppress the header on subsequent assistant messages and on the streaming overlay while a turn is already open. Header now marks the speaker boundary (you <-> agent), not the underlying API message boundary. |
||
|---|---|---|
| .. | ||
| agent | ||
| assets | ||
| auth | ||
| core | ||
| extproto | ||
| provider | ||
| skills | ||
| tui | ||