From 5432bba0ca8f5d1066769c8fd6c80afafedec27f Mon Sep 17 00:00:00 2001 From: Harry Date: Sat, 14 Feb 2026 10:54:50 +0800 Subject: [PATCH] fix: increase COMMAND_TIMEOUT_SECONDS to 2 hours for better command execution handling --- api/core/sandbox/bash/bash_tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/sandbox/bash/bash_tool.py b/api/core/sandbox/bash/bash_tool.py index 2210ed8257..f2573c9382 100644 --- a/api/core/sandbox/bash/bash_tool.py +++ b/api/core/sandbox/bash/bash_tool.py @@ -18,7 +18,7 @@ from core.virtual_environment.__base.virtual_environment import VirtualEnvironme from ..utils.debug import sandbox_debug -COMMAND_TIMEOUT_SECONDS = 60 * 60 +COMMAND_TIMEOUT_SECONDS = 60 * 60 * 2 # 2 hours, can be adjusted based on expected command execution times # Output truncation settings to avoid overwhelming model context # 8000 chars ≈ 2000-2700 tokens, safe for models with 8K+ context