mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #13583] [MERGED] Fix: Fix Image parameter for Automatic1111 /generations endpoint
#23245
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/13583
Author: @torisetxd
Created: 5/6/2025
Status: ✅ Merged
Merged: 5/6/2025
Merged by: @tjbck
Base:
dev← Head:torisetxd-image-patch📝 Commits (1)
6c957f2Fixed mis-use of set_image_model in automatic1111 Image generation📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/open_webui/routers/images.py(+1 -1)📄 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
/generationsendpoint for images with amodelbody parameter and the image generation engine isAutomatic1111an error occurs since theset_image_modelmethod is used wrong and missing the request parameter.requestparameter was missing to the function call.Fixed
modelparam errors when usingAutomatic1111in image generation API.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.