mirror of
https://github.com/open-webui/open-webui
synced 2025-02-23 13:51:07 +00:00
Move file metadata into the [meta][data] key
This commit is contained in:
parent
ffb9e73975
commit
2b05c9d944
@ -56,11 +56,11 @@ def upload_file(
|
||||
"id": id,
|
||||
"filename": name,
|
||||
"path": file_path,
|
||||
"data": file_metadata,
|
||||
"meta": {
|
||||
"name": name,
|
||||
"content_type": file.content_type,
|
||||
"size": len(contents),
|
||||
"data": file_metadata,
|
||||
},
|
||||
}
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user