mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
revert: reset vector db
This commit is contained in:
parent
7ba7b959a8
commit
9ab97b834a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue