mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #13675] [MERGED] perf: remove files from tasks #38891
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/13675
Author: @almajo
Created: 5/8/2025
Status: ✅ Merged
Merged: 5/8/2025
Merged by: @tjbck
Base:
dev← Head:task/remove_files_from_tasks📝 Commits (2)
cf5201aremove files from message for tasksa655bb5skip checks in title gen📊 Changes
2 files changed (+15 additions, -12 deletions)
View changed files
📝
backend/open_webui/routers/tasks.py(+1 -12)📝
backend/open_webui/utils/middleware.py(+14 -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
When creating a tag or title, there is no need to include attached files or images. It does not only use tokens (and hence increase costs and latency) but also can lead to exceeding the context window.
Changed
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.