fix(agent): run explicit recovery continuations

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-18 18:07:03 +08:00
1 parent 78cdf53ac3
commit 078e35f317
4 files changed
+79 -1

No files matched your search

+1 -1
View File
@@ -1493,7 +1493,7 @@ class AgentLoop:
async with lock, gate:
# A preceding user turn may have completed or blocked the goal
# while its older continuation was still waiting in the inbox.
if turn_continuation.internal_continuation_inbound(msg.metadata) and not (
if turn_continuation.sustained_goal_continuation_inbound(msg.metadata) and not (
sustained_goal_active(self.sessions.get_or_create(session_key).metadata)
):
return