auto-sync: 2026-05-26 20:29:32
This commit is contained in:
@@ -764,7 +764,7 @@ curl -X POST http://{api_host}:{api_port}/api/projects/{project_id}/tasks/{task_
|
||||
"""
|
||||
# ── 关键:手动 release counter(进程退出 = agent 空闲)──
|
||||
if self.counter:
|
||||
self.counter.release(agent_id)
|
||||
self.counter.release(agent_id, session_id or "main")
|
||||
# 旧 wrapped_on_complete 含 counter.release,不再使用,防止 double release
|
||||
on_complete = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user