Skip to content

The agent that grows with you

Merge branch 'lane2/106742-desktop-wire' into integ2/106742

teknium1160b2ff2d3c5
diff --cc gateway/session_authority.py
index b442c821286,335c0c1a931..a72835421e8
--- a/gateway/session_authority.py
+++ b/gateway/session_authority.py
@@@ -465,7 -431,10 +475,11 @@@ class SessionAuthority
live.event_stream.publish(ref.session_id, {
'text': response, 'content': response, 'admission_id': admission_id,
'outcome': 'cancelled' if settled['outcome'] == 'interrupted' else settled['outcome']})
+ # The stamp names a claimed, unsettled execution. Left in place, idle
+ # mutations (session.updated) would carry a terminal generation and
+ # a versioned viewer fence would discard them as late frames.
+ live.event_stream.execution = {}
+ self.pending_stops.pop(ref.session_id, None)
waiter = self.waiters.pop(admission_id, None)
if waiter is not None and not waiter.done():
waiter.set_result(response)