mirror of https://github.com/kortix-ai/suna.git
increase timeout
This commit is contained in:
parent
d663de4c51
commit
60e16cb8e0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue