Update agents/s11_autonomous_agents.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
to7for
2026-03-23 22:34:56 +08:00
committed by GitHub
parent ea53008ae7
commit 644b0753c9

View File

@@ -281,7 +281,7 @@ class TeammateManager:
if unclaimed:
task = unclaimed[0]
result = claim_task(task["id"], name)
if result.startswith("Error"):
if result.startswith("Error:"):
continue
task_prompt = (
f"<auto-claimed>Task #{task['id']}: {task['subject']}\n"