Merge branch 'form_io' of https://github.com/logspace-ai/langflow into form_io

This commit is contained in:
Cristhian Zanforlin Lousa 2023-07-03 18:53:08 -03:00
commit cd1cb854e7
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ def post_validate_prompt(prompt: ValidatePromptRequest):
field_type="str",
show=True,
advanced=False,
input_types=["BaseLoader", "BaseOutputParser"],
input_types=["Document", "BaseOutputParser"],
)
prompt.frontend_node.template[variable] = template_field.to_dict()

View file

@ -8,7 +8,7 @@ from langflow.template.field.base import TemplateField
from langflow.template.template.base import Template
from langflow.utils import constants
CLASSES_TO_REMOVE = ["Serializable", "BaseModel"]
CLASSES_TO_REMOVE = ["Serializable", "BaseModel", "object"]
class FrontendNode(BaseModel):