enough-football-27052
11/20/2025, 1:18 PMif __name__ == "__main__":
worker = WorkerOptions(
entrypoint_fnc=entrypoint,
prewarm_fnc=prewarm,
worker_type=WorkerType.ROOM,
shutdown_process_timeout=60,
job_memory_warn_mb=5000,
drain_timeout=1800,
initialize_process_timeout=float(os.getenv("WORKER_INIT_TIME") or "30.0"),
)
# Run worker in main thread (required for signal handling)
cli.run_app(worker)refined-appointment-81829
11/20/2025, 4:33 PMstart?enough-football-27052
11/21/2025, 3:21 AMlivekit.agentscli.run_app as given in example code.refined-appointment-81829
11/21/2025, 1:36 PMrefined-appointment-81829
11/21/2025, 1:38 PMuv run agent.py start or python agent.py start
https://docs.livekit.io/agents/start/voice-ai/#connect-to-playgroundenough-football-27052
11/24/2025, 8:09 AMpython src/worker.py start to run the agent.enough-football-27052
11/27/2025, 6:24 AM