mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #11515] [MERGED] fix: url value when response contains url tag #22751
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/11515
Author: @davizucon
Created: 3/10/2025
Status: ✅ Merged
Merged: 3/11/2025
Merged by: @tjbck
Base:
dev← Head:main📝 Commits (3)
846509bfix url value when response contains url tag453200cfix code formatb1224b6fix code format📊 Changes
1 file changed (+2 additions, -4 deletions)
View changed files
📝
backend/open_webui/routers/images.py(+2 -4)📄 Description
When the response contains b64_json, the "url" tag still exists but comes as null, the logic is to resolve this point where it contains the url tag, but empty, thus directing to b64_json
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
Changed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.