From 7a9c67d5dfa1024556959b59683e78cb4235d8d9 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Wed, 5 Nov 2025 12:45:31 +0800 Subject: [PATCH] fix: add empty environment variable dictionary for subprocess execution --- apps/common/utils/tool_code.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/common/utils/tool_code.py b/apps/common/utils/tool_code.py index ef6db5262..bbc4495b7 100644 --- a/apps/common/utils/tool_code.py +++ b/apps/common/utils/tool_code.py @@ -180,6 +180,7 @@ exec({dedent(code)!a}) self.user, ], 'cwd': self.sandbox_path, + 'env': {}, 'transport': 'stdio', } else: