mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
Move file metadata into the [meta][data] key
This commit is contained in:
parent
ffb9e73975
commit
2b05c9d944
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue