Update default values for input types in flow.py

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-03-25 12:31:45 -03:00
commit 6ae0e9d936

View file

@ -12,9 +12,9 @@ if TYPE_CHECKING:
from langflow.graph.vertex.base import Vertex
INPUT_TYPE_MAP = {
"ChatInput": {"type_hint": "Optional[str]", "default": ""},
"TextInput": {"type_hint": "Optional[str]", "default": ""},
"JSONInput": {"type_hint": "Optional[dict]", "default": {}},
"ChatInput": {"type_hint": "Optional[str]", "default": '""'},
"TextInput": {"type_hint": "Optional[str]", "default": '""'},
"JSONInput": {"type_hint": "Optional[dict]", "default": "{}"},
}