Skip to content

Commit f7271c4

Browse files
committed
fix: refactor tool_exec_record to use tool_lib object directly
1 parent 6bc4650 commit f7271c4

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
try:
253253
ToolRecord(
254254
id=task_record_id,
255-
workflow_id=tool_lib.workspace_id,
255+
workspace_id=tool_lib.workspace_id,
256256
tool_id=tool_lib.id,
257257
source_type=ToolTaskTypeChoices.KNOWLEDGE.value if self.workflow_manage.params.get(
258258
'knowledge_id') else ToolTaskTypeChoices.APPLICATION.value,

0 commit comments

Comments
 (0)