mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-25 01:36:29 -05:00
[PR #16284] [MERGED] fix: also clone the chat's tags, folder stats, and pinned status when cloning a chat #62941
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/16284
Author: @silentoplayz
Created: 8/4/2025
Status: ✅ Merged
Merged: 8/6/2025
Merged by: @tjbck
Base:
dev← Head:fix-clone-chat-tags📝 Commits (2)
bd570b7fix: chat metadata wasn't being taken into consideration when cloning a chat7c4550ffix: cloned chat metadata not taken into consideration📊 Changes
2 files changed (+29 additions, -3 deletions)
View changed files
📝
backend/open_webui/models/chats.py(+6 -1)📝
backend/open_webui/routers/chats.py(+23 -2)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Changed
clone_chat_by_idandclone_shared_chat_by_idinbackend/open_webui/routers/chats.pyto also clone the chat's tags, pinned status, and folder ID.insert_shared_chat_by_chat_idandupdate_shared_chat_by_chat_idinbackend/open_webui/models/chats.pyto also clone the chat's tags, pinned status, and folder ID.Fixed
Additional Information
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.