Skip to content

Commit 60576cb

Browse files
authored
fix: [Application] Tool node execution error #4790 (#4792)
1 parent bbd9718 commit 60576cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/application/flow/step_node/tool_lib_node/impl/base_tool_lib_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def tool_exec_record(self, tool_lib, all_params):
252252
start_time = time.time()
253253
try:
254254
# 过滤掉 tool_init_params 中的参数
255-
tool_init_params = json.loads(rsa_long_decrypt(tool_lib.init_params))
255+
tool_init_params = json.loads(rsa_long_decrypt(tool_lib.init_params)) if tool_lib.init_params else {}
256256
if tool_init_params:
257257
filtered_args = {
258258
k: v for k, v in all_params.items()

0 commit comments

Comments
 (0)