[PR #1786] [CLOSED] feat added environment variables and 📌fixed openai rag startup bug #91817

Closed
opened 2026-05-15 17:19:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/1786
Author: @Yanyutin753
Created: 4/27/2024
Status: Closed

Base: devHead: tem-main


📝 Commits (5)

  • c6c52df feat added environment variables and 📌fixed openai rag startup bug
  • 4e83077 feat updates of the latest code for forked repositories using github action
  • d3a0b31 fix Bug replace × with x
  • 7410ca3 Delete .github/workflows/sync.yml
  • 81f578f Update main.py

📊 Changes

3 files changed (+26 additions, -9 deletions)

View changed files

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

📄 Description

Pull Request Checklist

Description

feat added environment variables and 📌fixed openai rag startup bug


Changelog Entry

#1777 #1793

Fixed

feat added environment variables
feat added sync.yml
📌fixed openai rag startup bug

Changed

Section Content Description
Images IMAGES_GENERATION_ENGINE Select the image generation engine. Options: openai, ollama, comfyul.
IMAGES_MODEL Selects the image model.
IMAGE_SIZE Sets the image size. Default is 512x512.
IMAGE_STEPS Sets the image steps. Default is 50.
RAG PDF_EXTRACT_IMAGES Toggles whether to enable OCR for recognizing PDF.
CHUNK_SIZE Sets the chunk size. Default is 1500.
CHUNK_OVERLAP Sets the chunk overlap. Default is 100.
Bug Fixes Fixes the error on the selection of an environment variable that causes the error message "sentence_transformer_ef" does not exist when openai is selected.
Additions sync.yml Added sync.yml for automatic synchronization and updates of the latest code for forked repositories using github action.

Removed

NO Removed, Only Add

Verify

I have self-tested and it passed.

image

image

image

image


🔄 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/1786 **Author:** [@Yanyutin753](https://github.com/Yanyutin753) **Created:** 4/27/2024 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `tem-main` --- ### 📝 Commits (5) - [`c6c52df`](https://github.com/open-webui/open-webui/commit/c6c52df0e34803e88df05025a083ddd322a5ccb4) ✨feat added environment variables and 📌fixed openai rag startup bug - [`4e83077`](https://github.com/open-webui/open-webui/commit/4e8307774407415733b9d119b122cfef76f40b0d) ✨feat updates of the latest code for forked repositories using github action - [`d3a0b31`](https://github.com/open-webui/open-webui/commit/d3a0b31cd602cb3d40e466b2733ade70d1d23582) fix Bug replace × with x - [`7410ca3`](https://github.com/open-webui/open-webui/commit/7410ca372378c29af9e09e29502878316ac913ae) Delete .github/workflows/sync.yml - [`81f578f`](https://github.com/open-webui/open-webui/commit/81f578f7d6dab0e267069f82821c6c5e4b63cc23) Update main.py ### 📊 Changes **3 files changed** (+26 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/images/main.py` (+8 -4) 📝 `backend/apps/rag/main.py` (+2 -2) 📝 `backend/config.py` (+16 -3) </details> ### 📄 Description ## Pull Request Checklist ## Description ✨feat added environment variables and 📌fixed openai rag startup bug --- ### Changelog Entry #1777 #1793 ### Fixed ✨feat added environment variables ✨feat added sync.yml 📌fixed openai rag startup bug ### Changed | Section | Content | Description | |:--------|:---------------------|:------------| | Images | IMAGES_GENERATION_ENGINE | Select the image generation engine. Options: `openai`, `ollama`, `comfyul`. | | | IMAGES_MODEL | Selects the image model. | | | IMAGE_SIZE | Sets the image size. Default is `512x512`. | | | IMAGE_STEPS | Sets the image steps. Default is `50`. | | RAG | PDF_EXTRACT_IMAGES | Toggles whether to enable OCR for recognizing PDF. | | | CHUNK_SIZE | Sets the chunk size. Default is `1500`. | | | CHUNK_OVERLAP | Sets the chunk overlap. Default is `100`. | | Bug Fixes | | Fixes the error on the selection of an environment variable that causes the error message `"sentence_transformer_ef" does not exist` when `openai` is selected. | | Additions | sync.yml | Added `sync.yml` for automatic synchronization and updates of the latest code for forked repositories using github action. ### Removed NO Removed, Only Add ### Verify I have self-tested and it passed. ![image](https://github.com/open-webui/open-webui/assets/132346501/8ecaa72b-0e44-4a37-91fc-f7ee8b9b4d81) ![image](https://github.com/open-webui/open-webui/assets/132346501/6347331e-8757-4b94-a128-25faf34376c0) ![image](https://github.com/open-webui/open-webui/assets/132346501/07f90c4c-6949-4644-ac2f-62a9a1843249) ![image](https://github.com/open-webui/open-webui/assets/132346501/e2be309f-8610-4f4c-bf3a-17d49d88454e) --- <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:19:14 -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#91817