fix: increase COMMAND_TIMEOUT_SECONDS to 2 hours for better command execution handling

This commit is contained in:
Harry
2026-02-14 10:54:50 +08:00
parent 6415a0b799
commit 5432bba0ca

View File

@@ -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