diff --git a/src/backend/langflow/template/field/base.py b/src/backend/langflow/template/field/base.py index e596f21be..120e449b7 100644 --- a/src/backend/langflow/template/field/base.py +++ b/src/backend/langflow/template/field/base.py @@ -59,6 +59,9 @@ class TemplateFieldCreator(BaseModel, ABC): info: Optional[str] = "" """Additional information about the field to be shown in the tooltip. Defaults to an empty string.""" + refresh: bool = False + """Specifies if the field should be refreshed. Defaults to False.""" + def to_dict(self): result = self.model_dump() # Remove key if it is None