This commit is contained in:
Timothy J. Baek
2024-06-15 03:35:44 -06:00
parent a6ee7415d8
commit 3c599e24e5
5 changed files with 183 additions and 63 deletions
+1 -1
View File
@@ -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',