increase timeout

This commit is contained in:
marko-kraemer 2025-04-24 06:44:38 +01:00
parent d663de4c51
commit 60e16cb8e0
1 changed files with 3 additions and 3 deletions

View File

@ -58,8 +58,8 @@ class SandboxShellTool(SandboxToolsBase):
}, },
"timeout": { "timeout": {
"type": "integer", "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.", "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": 60 "default": 180
} }
}, },
"required": ["command"] "required": ["command"]
@ -135,7 +135,7 @@ class SandboxShellTool(SandboxToolsBase):
command: str, command: str,
folder: Optional[str] = None, folder: Optional[str] = None,
session_name: str = "default", session_name: str = "default",
timeout: int = 60 timeout: int = 180
) -> ToolResult: ) -> ToolResult:
try: try:
# Ensure sandbox is initialized # Ensure sandbox is initialized