[PR #1241] [MERGED] fix: delete duplicate function #7406

Closed
opened 2025-11-11 17:25:34 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/1241
Author: @7a6ac0
Created: 3/21/2024
Status: Merged
Merged: 3/21/2024
Merged by: @tjbck

Base: devHead: duplicate_def


📝 Commits (1)

  • a1412d0 fix: delete duplicate function

📊 Changes

1 file changed (+0 additions, -14 deletions)

View changed files

📝 backend/apps/web/models/chats.py (+0 -14)

📄 Description

Pull Request Checklist

  • Description: Briefly describe the changes in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?

Description

I found a function that was defined more than once. Although it didn't cause any other issues, it was still removed to make the code more concise.

Changed

  • Delete the duplicate function (update_chat_by_id) in backend/apps/web/models/chats.py

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/1241 **Author:** [@7a6ac0](https://github.com/7a6ac0) **Created:** 3/21/2024 **Status:** ✅ Merged **Merged:** 3/21/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `duplicate_def` --- ### 📝 Commits (1) - [`a1412d0`](https://github.com/open-webui/open-webui/commit/a1412d0b55d88980cdf93fa19f02ceae13a05d02) fix: delete duplicate function ### 📊 Changes **1 file changed** (+0 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/web/models/chats.py` (+0 -14) </details> ### 📄 Description ## Pull Request Checklist - [x] **Description:** Briefly describe the changes in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? --- ## Description I found a function that was defined more than once. Although it didn't cause any other issues, it was still removed to make the code more concise. ### Changed - Delete the duplicate function (`update_chat_by_id`) in `backend/apps/web/models/chats.py` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 17:25:34 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#7406