mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
[PR #3116] [MERGED] feat: add abilty to edit memories #7987
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/3116
Author: @Peter-De-Ath
Created: 6/13/2024
Status: ✅ Merged
Merged: 6/15/2024
Merged by: @tjbck
Base:
dev← Head:memories-edit📝 Commits (2)
493e306enh: ability to edit memoriesbec00e7fix: change update_memory to correct naming convention📊 Changes
6 files changed (+141 additions, -7 deletions)
View changed files
📝
backend/apps/webui/models/memories.py(+14 -0)📝
backend/apps/webui/routers/memories.py(+23 -0)📝
src/lib/apis/memories/index.ts(+31 -0)📝
src/lib/components/chat/Settings/Personalization/AddMemoryModal.svelte(+49 -3)📝
src/lib/components/chat/Settings/Personalization/ManageModal.svelte(+22 -4)📝
src/lib/i18n/locales/en-GB/translation.json(+2 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Allow updating of memories
Added
Add the ability to update a memory via the API using a PATCH request.
Add ability to update a memory in the UI.
Changed
Update memories list heading to "Last Modified" from "Created At"
Updated timestamp to include the hours mins and seconds
Additional Information
https://github.com/open-webui/open-webui/issues/2729
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.