auto-sync: 2026-05-26 20:29:22

This commit is contained in:
cfdaily
2026-05-26 20:29:22 +08:00
parent dc3f757aec
commit cd6d770365
+1 -1
View File
@@ -440,7 +440,7 @@ curl -X POST http://{self.api_host}:{self.api_port}/api/projects/{project_id}/ta
except Exception as e:
# spawn 失败也要 release counter
if self.counter:
self.counter.release(agent_id)
self.counter.release(agent_id, _sid_key)
logger.exception("Failed to spawn agent %s", agent_id)
self._record_attempt(task_id, agent_id, "spawn_failed", error=str(e))
raise