diff --git a/src/daemon/spawner.py b/src/daemon/spawner.py index 2942edb..734a486 100644 --- a/src/daemon/spawner.py +++ b/src/daemon/spawner.py @@ -339,7 +339,6 @@ curl -X POST http://{self.api_host}:{self.api_port}/api/projects/{project_id}/ta if on_complete: try: result = on_complete(agent_id, outcome) - import asyncio if asyncio.iscoroutine(result): await result except Exception: