🔄 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/11432
**Author:** [@captn-hook](https://github.com/captn-hook)
**Created:** 3/8/2025
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `patch-1`
---
### 📝 Commits (6)
- [`dc78d2f`](https://github.com/open-webui/open-webui/commit/dc78d2f7586ec2681ca56a5a6b387dea6836a6b6) Update bug_report.yaml
- [`67cd4f2`](https://github.com/open-webui/open-webui/commit/67cd4f2ab101662cf124fcb4ef45293245bebec0) Create config.yaml
- [`d7bfa39`](https://github.com/open-webui/open-webui/commit/d7bfa395b0672a21a41fb6706a4275673d339762) refac
- [`b03fc97`](https://github.com/open-webui/open-webui/commit/b03fc97e287f31ad07bda896143959bc4413f7d2) Update bug_report.yaml
- [`35cc6ef`](https://github.com/open-webui/open-webui/commit/35cc6ef6365589670759515fc12734afb8ba2490) Update config.py to correctly handle environment strings
- [`dfb1ec9`](https://github.com/open-webui/open-webui/commit/dfb1ec9ad2b0e794862a637c3dbb56a52e45758e) required for compile
### 📊 Changes
**4 files changed** (+9 additions, -6 deletions)
<details>
<summary>View changed files</summary>
📝 `.github/ISSUE_TEMPLATE/bug_report.yaml` (+5 -3)
➕ `.github/ISSUE_TEMPLATE/config.yml` (+1 -0)
📝 `backend/open_webui/config.py` (+2 -2)
📝 `package.json` (+1 -1)
</details>
### 📄 Description
# Pull Request Checklist
https://github.com/open-webui/open-webui/discussions/11431
# Changelog Entry
as per this thread in the discord
https://discord.com/channels/1170866489302188073/1347727886001635338
opensearch environment variables are loaded as strings instead of bools,
modified according to other examples in the file backend/open_webui/config.py
in backend/open_webui/retrieval/vector/dbs/opensearch.py,
class OpenSearchClient:
def __init__(self):
self.index_prefix = "open_webui"
self.client = OpenSearch(
hosts=[OPENSEARCH_URI],
use_ssl=OPENSEARCH_SSL,
verify_certs=OPENSEARCH_CERT_VERIFY,
http_auth=(OPENSEARCH_USERNAME, OPENSEARCH_PASSWORD),
)
But this is a Python bool, not a string.
In backend/open_webui/config.py, we define it here:
OPENSEARCH_SSL = os.environ.get("OPENSEARCH_SSL", True)
other variables are loaded like
OPENSEARCH_SSL = os.environ.get("OPENSEARCH_SSL", "true").lower() == "true"
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/11432
Author: @captn-hook
Created: 3/8/2025
Status: ❌ Closed
Base:
dev← Head:patch-1📝 Commits (6)
dc78d2fUpdate bug_report.yaml67cd4f2Create config.yamld7bfa39refacb03fc97Update bug_report.yaml35cc6efUpdate config.py to correctly handle environment stringsdfb1ec9required for compile📊 Changes
4 files changed (+9 additions, -6 deletions)
View changed files
📝
.github/ISSUE_TEMPLATE/bug_report.yaml(+5 -3)➕
.github/ISSUE_TEMPLATE/config.yml(+1 -0)📝
backend/open_webui/config.py(+2 -2)📝
package.json(+1 -1)📄 Description
Pull Request Checklist
https://github.com/open-webui/open-webui/discussions/11431
Changelog Entry
as per this thread in the discord
https://discord.com/channels/1170866489302188073/1347727886001635338
opensearch environment variables are loaded as strings instead of bools,
modified according to other examples in the file backend/open_webui/config.py
in backend/open_webui/retrieval/vector/dbs/opensearch.py,
class OpenSearchClient:
def init(self):
self.index_prefix = "open_webui"
self.client = OpenSearch(
hosts=[OPENSEARCH_URI],
use_ssl=OPENSEARCH_SSL,
verify_certs=OPENSEARCH_CERT_VERIFY,
http_auth=(OPENSEARCH_USERNAME, OPENSEARCH_PASSWORD),
)
But this is a Python bool, not a string.
In backend/open_webui/config.py, we define it here:
OPENSEARCH_SSL = os.environ.get("OPENSEARCH_SSL", True)
other variables are loaded like
OPENSEARCH_SSL = os.environ.get("OPENSEARCH_SSL", "true").lower() == "true"
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.