mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
fix: web attachment issue
This commit is contained in:
@@ -709,8 +709,8 @@ def save_docs_to_vector_db(
|
||||
if overwrite:
|
||||
VECTOR_DB_CLIENT.delete_collection(collection_name=collection_name)
|
||||
log.info(f"deleting existing collection {collection_name}")
|
||||
|
||||
if add is False:
|
||||
elif add is False:
|
||||
log.info(f"collection {collection_name} already exists, overwrite is False and add is False")
|
||||
return True
|
||||
|
||||
log.info(f"adding to collection {collection_name}")
|
||||
|
||||
Reference in New Issue
Block a user