auto-sync: 2026-05-28 16:58:34
This commit is contained in:
@@ -389,6 +389,10 @@ curl -X POST http://{self.api_host}:{self.api_port}/api/projects/{project_id}/ta
|
||||
raise AgentBusyError(agent_id)
|
||||
await self.counter.acquire(agent_id, _sid_key)
|
||||
|
||||
# 3.5 on_checks_passed: 所有检查通过后的回调(session + counter)
|
||||
if on_checks_passed:
|
||||
on_checks_passed()
|
||||
|
||||
if self.dry_run:
|
||||
logger.info("[DRY RUN] Would spawn agent %s (session=%s)", agent_id, _sid_key)
|
||||
self._register_session(_sid_key, agent_id, task_id, pid=None)
|
||||
|
||||
Reference in New Issue
Block a user