mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 00:04:08 -05:00
[PR #1808] [CLOSED] ✨ expend the image format type after the file is downloaded #7590
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/1808
Author: @Yanyutin753
Created: 4/28/2024
Status: ❌ Closed
Base:
main← Head:image-dev📝 Commits (4)
7de2bc8✨ optimize the file name after the file is downloaded849ef2cMerge branch 'open-webui:main' into image-dev1a52a08📌 pylint codes7fed798Merge branch 'image-dev' of https://github.com/Yanyutin753/open-webui into image-dev📊 Changes
1 file changed (+38 additions, -22 deletions)
View changed files
📝
backend/apps/images/main.py(+38 -22)📄 Description
Pull Request Checklist
Description
✨ optimize the file name after the file is downloaded
Changelog Entry
Added
To expend the image format by changing method
save_b64_image,save_url_imagein/open-webui/backend/apps/images/main.pyFixed
somethings, when we use third-party dall-e-3 similar to openai transfer, the download image format is not all png, i hope to expend the image format type
Additional Information
I have self-tested and it passed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.