diff --git a/dbgpt/core/awel/flow/ui.py b/dbgpt/core/awel/flow/ui.py index 7fd2a4ba4..928755a20 100644 --- a/dbgpt/core/awel/flow/ui.py +++ b/dbgpt/core/awel/flow/ui.py @@ -367,7 +367,10 @@ class UIUpload(UIComponent): ) ui_type: Literal["upload"] = Field("upload", frozen=True) - + attr: Optional[UIAttribute] = Field( + None, + description="The attributes of the component", + ) max_file_size: Optional[int] = Field( None, description="The maximum size of the file, in bytes",