refac
This commit is contained in:
1 parent
a6ee7415d8
commit
3c599e24e5
5 files changed
+183
-63
No files matched your search
@@ -62,7 +62,7 @@ export const addNewMemory = async (token: string, content: string) => {
|
||||
export const updateMemoryById = async (token: string, id: string, content: string) => {
|
||||
let error = null;
|
||||
|
||||
const res = await fetch(`${WEBUI_API_BASE_URL}/memories/${id}`, {
|
||||
const res = await fetch(`${WEBUI_API_BASE_URL}/memories/${id}/update`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
Accept: 'application/json',
|
||||
|
||||
Reference in new issue
Block a user