mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-27 17:58:07 +00:00
An accepted mid-turn redirect wrote its correction over inflight_turn["user"]. That field is the only user text session.resume can replay, so the prompt that started the turn was gone the moment the user typed again while it ran. On the next resume the client rebuilt the thread without it. Record corrections in their own list instead, alongside the prompt. Renamed _replace_inflight_user to _record_inflight_correction now that it appends. _start_inflight_turn rebuilds the dict wholesale, so corrections cannot leak into a later turn. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _stdin_recovery.py | ||
| compute_host.py | ||
| entry.py | ||
| event_publisher.py | ||
| git_probe.py | ||
| host_supervisor.py | ||
| loop_noise.py | ||
| project_tree.py | ||
| render.py | ||
| server.py | ||
| slash_worker.py | ||
| synthetic_turn.py | ||
| transport.py | ||
| turn_marker.py | ||
| ws.py | ||