room: close turns a restart left open
ci / checks (push) Successful in 51s
ci / test (push) Successful in 57s
ci / chart (push) Successful in 5s
ci / web (push) Successful in 19s
ci / docker (push) Successful in 1m42s
ci / publish-edge-image (push) Successful in 10s
ci / publish-edge-chart (push) Successful in 3s
ci / checks (push) Successful in 51s
ci / test (push) Successful in 57s
ci / chart (push) Successful in 5s
ci / web (push) Successful in 19s
ci / docker (push) Successful in 1m42s
ci / publish-edge-image (push) Successful in 10s
ci / publish-edge-chart (push) Successful in 3s
A turn writes turn_start before it runs and turn_end only after the work settles. A restart in between leaves the log with one open turn, and the client replays it as running, so the room shows "Rhema is working..." over no task. At startup, close every start without an end with an interrupted turn_end, which the log already renders as "rhema stopped".
This commit is contained in:
1 parent
c67d8af42d
commit
a40a7a6b36
3 files changed
+153
No files matched your search
@@ -378,6 +378,9 @@ shows `Rhema is working...` until `turn_end`. When the turn ends, the log
|
||||
gets one collapsed line: `rhema finished · 3 steps`. Expanding it shows the
|
||||
draft text, thinking, tool calls, and usage. Nothing from the model stream
|
||||
is visible by default. The summary line is per turn, not per message.
|
||||
An open turn does not outlive the process: at startup the server appends
|
||||
an interrupted `turn_end` for any `turn_start` without one, so a restart
|
||||
cannot leave the status line working over no task.
|
||||
|
||||
### Preview
|
||||
|
||||
|
||||
Reference in new issue
Block a user