Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: http node download file always image type (#11319)
非法操作d470e55f8cfa
diff --git a/api/core/workflow/nodes/http_request/node.py b/api/core/workflow/nodes/http_request/node.pyindex b0c6e582445..2a92a16ede8 100644--- a/api/core/workflow/nodes/http_request/node.py+++ b/api/core/workflow/nodes/http_request/node.py@@ -1,11 +1,9 @@import loggingfrom collections.abc import Mapping, Sequence-from mimetypes import guess_extension-from os import pathfrom typing import Anyfrom configs import dify_config-from core.file import File, FileTransferMethod, FileType+from core.file import File, FileTransferMethodfrom core.tools.tool_file_manager import ToolFileManagerfrom core.workflow.entities.node_entities import NodeRunResultfrom core.workflow.entities.variable_entities import VariableSelector@@ -150,11 +148,6 @@ class HttpRequestNode(BaseNode[HttpRequestNodeData]):content = response.contentif is_file and content_type:- # extract filename from url- filename = path.basename(url)- # extract extension if possible- extension = guess_extension(content_type) or ".bin"-tool_file = ToolFileManager.create_file_by_raw(user_id=self.user_id,tenant_id=self.tenant_id,@@ -165,7 +158,6 @@ class HttpRequestNode(BaseNode[HttpRequestNodeData]):mapping = {"tool_file_id": tool_file.id,- "type": FileType.IMAGE.value,"transfer_method": FileTransferMethod.TOOL_FILE.value,}file = file_factory.build_from_mapping(