mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
fix: add extension, filename and size to PluginFileEntity
This commit is contained in:
@ -11,5 +11,8 @@ class PluginFileEntity(BaseModel):
|
||||
|
||||
dify_model_identity: str = FILE_MODEL_IDENTITY
|
||||
mime_type: str | None
|
||||
filename: str | None
|
||||
extension: str | None
|
||||
size: int | None
|
||||
type: FileType
|
||||
url: str
|
||||
|
||||
Reference in New Issue
Block a user