Skip to content

Commit

Permalink
fix http node download files always image type
Browse files Browse the repository at this point in the history
  • Loading branch information
hjlarry committed Dec 4, 2024
1 parent 22f099a commit 6956014
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/core/workflow/nodes/http_request/node.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import logging
from collections.abc import Mapping, Sequence
from mimetypes import guess_extension
from os import path
from typing import Any

from configs import dify_config
from core.file import File, FileTransferMethod, FileType
from core.file import File, FileTransferMethod
from core.tools.tool_file_manager import ToolFileManager
from core.workflow.entities.node_entities import NodeRunResult
from core.workflow.entities.variable_entities import VariableSelector
Expand Down

0 comments on commit 6956014

Please sign in to comment.