fix: DuckDuckGo image search tool error (#5606)

This commit is contained in:
非法操作
2024-06-26 13:21:40 +08:00
committed by GitHub
parent 43335b5c87
commit b8926ea267
8 changed files with 26 additions and 16 deletions

View File

@@ -174,6 +174,7 @@ class ToolNode(BaseNode):
tenant_id=self.tenant_id,
type=FileType.IMAGE,
transfer_method=FileTransferMethod.TOOL_FILE,
url=url,
related_id=tool_file_id,
filename=filename,
extension=ext,