mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 04:37:54 +00:00
fix
This commit is contained in:
parent
647371e772
commit
8e7f6502ef
@ -163,7 +163,8 @@ def select_rag_database(client) -> Optional[Dict[str, Path]]:
|
|||||||
vdb.build_index()
|
vdb.build_index()
|
||||||
ASCIIColors.success("OK")
|
ASCIIColors.success("OK")
|
||||||
lollmsElfServer.HideBlockingMessage()
|
lollmsElfServer.HideBlockingMessage()
|
||||||
run_async(partial(lollmsElfServer.sio.emit,'rag_db_added ', {"database_name": db_name, "database_path": Path(folder_path)}, to=client.client_id))
|
run_async(partial(lollmsElfServer.sio.emit,'rag_db_added', {"database_name": db_name, "database_path": str(folder_path)}, to=client.client_id))
|
||||||
|
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
trace_exception(ex)
|
trace_exception(ex)
|
||||||
lollmsElfServer.HideBlockingMessage()
|
lollmsElfServer.HideBlockingMessage()
|
||||||
|
Loading…
Reference in New Issue
Block a user