You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Settle run state on inference.done too, and drop cancel from this PR
Review found that draining the queue on inference.done was not enough:
run stayed busy until connector.reply, and a workflow/goal-governor
cycle that keeps self-continuing may never emit one. Every future Enter
then resolved to "queue" against a session nothing will ever drain
again. Settle run the same way connector.reply already does -- once
inference.done lands with no tool calls still outstanding -- using the
turn state the bridge already tracks, so no new event type is needed.
Also reverts the tool.boundary addition to inference.done entirely:
settling (or draining, when tools are still outstanding) from
runtime-bridge's own handle() covers both cases without overloading an
event that elsewhere means "a tool call finished."
Cancel-last (Ctrl+X) is pulled out of this PR -- it is a separate
feature with its own defect (the transcript row it left behind never
reflected the cancellation) and belongs in its own change, landed once
that is fixed and covered.
0 commit comments