mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 23:38:27 +00:00
Gateway: bound agent run sequence tracking
This commit is contained in:
@@ -88,8 +88,12 @@ export function abortChatRunById(
|
||||
ops.chatAbortControllers.delete(runId);
|
||||
ops.chatRunBuffers.delete(runId);
|
||||
ops.chatDeltaSentAt.delete(runId);
|
||||
ops.removeChatRun(runId, runId, sessionKey);
|
||||
const removed = ops.removeChatRun(runId, runId, sessionKey);
|
||||
broadcastChatAborted(ops, { runId, sessionKey, stopReason });
|
||||
ops.agentRunSeq.delete(runId);
|
||||
if (removed?.clientRunId) {
|
||||
ops.agentRunSeq.delete(removed.clientRunId);
|
||||
}
|
||||
return { aborted: true };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user