[PR #1500] [MERGED] feat: add IMAGE_GENERATION_ENABLED env var #91728

Closed
opened 2026-05-15 17:11:36 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/1500
Author: @ghost
Created: 4/11/2024
Status: Merged
Merged: 4/13/2024
Merged by: @tjbck

Base: devHead: config-image-generation-enabled


📝 Commits (3)

📊 Changes

2 files changed (+11 additions, -2 deletions)

View changed files

📝 backend/apps/images/main.py (+8 -2)
📝 backend/config.py (+3 -0)

📄 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.

Description

Add IMAGE_GENERATION_ENABLED environment variable with default of False.


Changelog Entry

Added

  • Add IMAGE_GENERATION_ENABLED environment variable

Fixed

  • Allows for image generation to remain enabled across container restart

Changed

  • backend/config.py
  • backend/apps/images/main.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/1500 **Author:** [@ghost](https://github.com/ghost) **Created:** 4/11/2024 **Status:** ✅ Merged **Merged:** 4/13/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `config-image-generation-enabled` --- ### 📝 Commits (3) - [`3b8ea55`](https://github.com/open-webui/open-webui/commit/3b8ea55bc8ec0cd00b31001e431021c39b174150) Add IMAGE_GENERATION_ENABLED env var - [`ff01398`](https://github.com/open-webui/open-webui/commit/ff0139881212d636232880f7b5bf1656104f0e0d) Format fix - [`0981fae`](https://github.com/open-webui/open-webui/commit/0981fae161545d4f9c723f5fc901565fced818ec) refac: convention ### 📊 Changes **2 files changed** (+11 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/images/main.py` (+8 -2) 📝 `backend/config.py` (+3 -0) </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. --- ## Description Add IMAGE_GENERATION_ENABLED environment variable with default of `False`. --- ### Changelog Entry ### Added - Add IMAGE_GENERATION_ENABLED environment variable ### Fixed - Allows for image generation to remain enabled across container restart ### Changed - backend/config.py - backend/apps/images/main.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 2026-05-15 17:11:36 -05: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#91728