MCPcopy Create free account
hub / github.com/Claw-AI-Lab/Claw-AI-Lab / fail

Method fail

backend/services/agent_bridge.py:644–649  ·  view source on GitHub ↗
(self, task_id: str)

Source from the content-addressed store, hash-verified

642 t.completed_at = _now_ms()
643 self.save()
644 return
645
646 def fail(self, task_id: str):
647 for t in self.tasks:
648 if t.id == task_id:
649 t.status = "failed"
650 self.save()
651 return
652

Callers 1

poll_loopFunction · 0.80

Calls 1

saveMethod · 0.95

Tested by

no test coverage detected