mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-11 13:58:58 +00:00
fix(core): Fix upload ui component attr error
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user