mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 21:13:59 +00:00
revert: reset vector db
This commit is contained in:
parent
7ba7b959a8
commit
9ab97b834a
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user