mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-04 02:28:02 -05:00
revert: reset vector db
This commit is contained in:
1 parent
7ba7b959a8
commit
9ab97b834a
1 file changed
+1
-1
@@ -425,7 +425,7 @@ export const resetUploadDir = async (token: string) => {
|
||||
export const resetVectorDB = async (token: string) => {
|
||||
let error = null;
|
||||
|
||||
const res = await fetch(`${RAG_API_BASE_URL}/reset`, {
|
||||
const res = await fetch(`${RAG_API_BASE_URL}/reset/db`, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
Accept: 'application/json',
|
||||
|
||||
Reference in new issue
Block a user