Skip to content

Commit 02a8aaa

Browse files
Merge remote-tracking branch 'origin/v2' into v2
2 parents 5a35665 + 0fe432e commit 02a8aaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/application/flow/step_node/ai_chat_step_node/impl/base_chat_node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ def get_details(self, index: int, **kwargs):
340340
# 清理工具代码文件,延时删除,避免文件被占用
341341
for tool_id in self.context.get('tool_ids'):
342342
code_path = f'{executor.sandbox_path}/execute/{tool_id}.py'
343-
# if os.path.exists(code_path):
344-
# os.remove(code_path)
343+
if os.path.exists(code_path):
344+
os.remove(code_path)
345345
return {
346346
'name': self.node.properties.get('stepName'),
347347
"index": index,

0 commit comments

Comments
 (0)