diff --git a/src/backend/base/langflow/inputs/__init__.py b/src/backend/base/langflow/inputs/__init__.py index 10f297b59..403adda82 100644 --- a/src/backend/base/langflow/inputs/__init__.py +++ b/src/backend/base/langflow/inputs/__init__.py @@ -6,6 +6,7 @@ from .inputs import ( FloatInput, HandleInput, IntInput, + MessageInput, MultilineInput, NestedDictInput, PromptInput, @@ -17,15 +18,16 @@ from .inputs import ( __all__ = [ "SecretStrInput", "StrInput", - MultilineInput, - NestedDictInput, - PromptInput, - SecretStrInput, - StrInput, - TextInput, - "FileInput", "PromptInput", "MultilineInput", "HandleInput", "TextInput", + "BoolInput", + "DropdownInput", + "FloatInput", + "IntInput", + "DictInput", + "MessageInput", + "NestedDictInput", + "FileInput", ] diff --git a/src/backend/base/langflow/interface/utils.py b/src/backend/base/langflow/interface/utils.py index e9a475875..dfee36021 100644 --- a/src/backend/base/langflow/interface/utils.py +++ b/src/backend/base/langflow/interface/utils.py @@ -3,17 +3,14 @@ import json import os import re from io import BytesIO -from typing import Dict import yaml -from docstring_parser import parse from langchain_core.language_models import BaseLanguageModel from loguru import logger from PIL.Image import Image from langflow.services.chat.config import ChatConfig from langflow.services.deps import get_settings_service -from langflow.utils.util import format_dict, get_base_classes, get_default_factory def load_file_into_dict(file_path: str) -> dict: