diff --git a/dashboard/backend/services/agent_executor.py b/dashboard/backend/services/agent_executor.py index c8e3a1d..39a0722 100644 --- a/dashboard/backend/services/agent_executor.py +++ b/dashboard/backend/services/agent_executor.py @@ -320,5 +320,14 @@ async def get_executor() -> AgentExecutor: async def start_executor(): """Start the executor service""" - executor = await get_executor() - await executor.start() + print("start_executor() called") + try: + executor = await get_executor() + print(f"Executor obtained: {executor is not None}, running: {executor.running}") + await executor.start() + print("Executor start() completed (should not reach here as start() is infinite loop)") + except Exception as e: + print(f"ERROR in start_executor: {e}") + import traceback + traceback.print_exc() + raise