fix: stabilize MindSpace local workflows
Signed-off-by: john <cynell@139.com>
This commit is contained in:
@@ -362,6 +362,7 @@ export function createMindSpaceAgentRunner({
|
||||
if (!sessionId) {
|
||||
throw runnerError('Agent 会话启动失败', 'worker_unavailable');
|
||||
}
|
||||
await agentJobService.setSessionId(jobId, claim.jobToken, sessionId);
|
||||
await sessionStore.registerAgentSession(claim.userId, sessionId);
|
||||
await reconcileAgentSession(
|
||||
(pathname, init) => apiFetch(pathname, init),
|
||||
|
||||
Reference in New Issue
Block a user