Merge branch 'form_io' of https://github.com/logspace-ai/langflow into form_io
This commit is contained in:
commit
cd1cb854e7
2 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ def post_validate_prompt(prompt: ValidatePromptRequest):
|
||||||
field_type="str",
|
field_type="str",
|
||||||
show=True,
|
show=True,
|
||||||
advanced=False,
|
advanced=False,
|
||||||
input_types=["BaseLoader", "BaseOutputParser"],
|
input_types=["Document", "BaseOutputParser"],
|
||||||
)
|
)
|
||||||
|
|
||||||
prompt.frontend_node.template[variable] = template_field.to_dict()
|
prompt.frontend_node.template[variable] = template_field.to_dict()
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ from langflow.template.field.base import TemplateField
|
||||||
from langflow.template.template.base import Template
|
from langflow.template.template.base import Template
|
||||||
from langflow.utils import constants
|
from langflow.utils import constants
|
||||||
|
|
||||||
CLASSES_TO_REMOVE = ["Serializable", "BaseModel"]
|
CLASSES_TO_REMOVE = ["Serializable", "BaseModel", "object"]
|
||||||
|
|
||||||
|
|
||||||
class FrontendNode(BaseModel):
|
class FrontendNode(BaseModel):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue