auto-sync: 2026-05-26 20:29:22
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user