mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -729,13 +729,9 @@ def process_file(
|
||||
text_content = " ".join([doc.page_content for doc in docs])
|
||||
log.debug(f"text_content: {text_content}")
|
||||
|
||||
Files.update_files_metadata_by_id(
|
||||
Files.update_files_data_by_id(
|
||||
form_data.file_id,
|
||||
{
|
||||
"content": {
|
||||
"text": text_content,
|
||||
}
|
||||
},
|
||||
{"content": text_content},
|
||||
)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user