Build and run agents you can see, understand and trust.
Python agentchatbotlarge-language-modelsllmllm-agentmcpmulti-agentmulti-modalreact-agentrealtime-agentvoice-agentvoice-assistant
fix(example): disable uvicorn hot reload on Windows (#2434)
dvd233ff57a1cd7319
diff --git a/examples/agent_service/main.py b/examples/agent_service/main.pyindex 2c47a481c..3955320ba 100644--- a/examples/agent_service/main.py+++ b/examples/agent_service/main.py@@ -1,6 +1,7 @@# -*- coding: utf-8 -*-"""The example script to start the agent service."""import os+import sysimport uvicornfrom fastapi.middleware import Middleware@@ -170,5 +171,7 @@ if __name__ == "__main__":"main:app",host="0.0.0.0",port=8000,- reload=True,+ # Hot reload forces a SelectorEventLoop on Windows, which cannot+ # spawn the subprocesses that the builtin tools rely on+ reload=sys.platform != "win32",)