diff options
| author | Agando <roduccomm@gmail.com> | 2026-10-23 20:25:19 +0200 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-10-23 20:25:19 +0200 |
| commit | 8e942d0eacf9e6e46fec1e51d6c18ea40afe3310 (patch) | |
| tree | ca03eac5debd107edc9809344f9a1ef11a1b2121 /scripts/chat.py | |
| parent | 492cbe7c24bc84b4f541235e62adce19fc690e35 (diff) | |
fix(newos4): agent read gets its own chat cursor (v4.6.76)
Two readers shared one cursor. The 30 s UI poller printed each reply and advanced
webx11_chat_state.cursor, so the agent's chat_hermes read then asked for 'since=<that>'
and got an empty list — the answer appeared on the terminal and never reached the model.
That is the reported symptom exactly.
chat_hermes read now uses webx11_chat_agent_cursor, starts from 0 on first use so the
whole thread is visible, and never touches the display cursor. Empty reads say why
('still awaiting Hermes' vs 'no new messages since your last read').
Proven: UI poll consumed the reply (printed to terminal), then chat_hermes read still
returned both the agent's question and Hermes's answer.
Diffstat (limited to 'scripts/chat.py')
0 files changed, 0 insertions, 0 deletions