Build and run agents you can see, understand and trust.
Python agentchatbotlarge-language-modelsllmllm-agentmcpmulti-agentmulti-modalreact-agentrealtime-agentvoice-agentvoice-assistant
fix(tool): prevent CPython startup hangs in exec_shell on Windows (#3642)
DJJo3c83c3fccce0
diff --git a/src/agentscope/tool/_builtin/_backend.py b/src/agentscope/tool/_builtin/_backend.pyindex 4e139da11..5b30798bb 100644--- a/src/agentscope/tool/_builtin/_backend.py+++ b/src/agentscope/tool/_builtin/_backend.py@@ -798,6 +798,8 @@ class LocalBackend(BackendBase):try:process = await asyncio.create_subprocess_exec(*command,+ # Inheriting a stdin pipe can hang CPython startup on Windows.+ stdin=asyncio.subprocess.DEVNULL,stdout=asyncio.subprocess.PIPE,stderr=asyncio.subprocess.PIPE,**kwargs,