From 60e16cb8e083e5e4f79407170ed10bcd197c4bd4 Mon Sep 17 00:00:00 2001 From: marko-kraemer Date: Thu, 24 Apr 2025 06:44:38 +0100 Subject: [PATCH] increase timeout --- backend/agent/tools/sb_shell_tool.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/agent/tools/sb_shell_tool.py b/backend/agent/tools/sb_shell_tool.py index dd3f99be..6ead87ff 100644 --- a/backend/agent/tools/sb_shell_tool.py +++ b/backend/agent/tools/sb_shell_tool.py @@ -58,8 +58,8 @@ class SandboxShellTool(SandboxToolsBase): }, "timeout": { "type": "integer", - "description": "Optional timeout in seconds. Increase for long-running commands. Defaults to 60. For commands that might exceed this timeout, use background execution with & operator instead.", - "default": 60 + "description": "Optional timeout in seconds. Increase for long-running commands. Defaults to 180. For commands that might exceed this timeout, use background execution with & operator instead.", + "default": 180 } }, "required": ["command"] @@ -135,7 +135,7 @@ class SandboxShellTool(SandboxToolsBase): command: str, folder: Optional[str] = None, session_name: str = "default", - timeout: int = 60 + timeout: int = 180 ) -> ToolResult: try: # Ensure sandbox is initialized