mirror of
https://github.com/open-webui/open-webui
synced 2024-11-07 00:59:52 +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) => {
|
export const resetVectorDB = async (token: string) => {
|
||||||
let error = null;
|
let error = null;
|
||||||
|
|
||||||
const res = await fetch(`${RAG_API_BASE_URL}/reset`, {
|
const res = await fetch(`${RAG_API_BASE_URL}/reset/db`, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
Accept: 'application/json',
|
Accept: 'application/json',
|
||||||
|
Loading…
Reference in New Issue
Block a user