Before submitting, make sure you've checked the following:
Target branch: Please verify that the pull request targets the dev branch.
Description: Provide a concise description of the changes made 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.
Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources? -> NOT NEEDED, "HF_HUB_OFFLINE" is not even documented in the docs. and OFFLINE_MODE is already documented
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Testing: Have you written and run sufficient tests for validating the changes?
Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:
chore: Refactor, cleanup, or other non-functional code changes
docs: Documentation update or addition
Changelog Entry
Description
I noticed that the HF_HUB_OFFLINE environment variable is not used anywhere. It was only stored/accessed in the env.py file and documented in the readme. It is not used anywhere else. Therefore, I removed the lines from the env.py file to remove the HF_HUB_OFFLINE environment variable and also changed the readme to instead reference the OFFLINE_MODE variable.
HF_HUB_OFFLINE was removed as it is unused
🔄 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/8557
**Author:** [@Classic298](https://github.com/Classic298)
**Created:** 1/14/2025
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `patch-1`
---
### 📝 Commits (3)
- [`63ba87d`](https://github.com/open-webui/open-webui/commit/63ba87d08b48637b2a27bedc29a3901570318aff) Update env.py
- [`1884bbf`](https://github.com/open-webui/open-webui/commit/1884bbf835da7d64d41ee1ced7a6c573636ac28e) Update README.md
- [`4e643d3`](https://github.com/open-webui/open-webui/commit/4e643d3bd670de72de008fe4bd4375329fcffe90) Merge pull request #1 from Classic298/patch-2
### 📊 Changes
**2 files changed** (+2 additions, -5 deletions)
<details>
<summary>View changed files</summary>
📝 `README.md` (+2 -2)
📝 `backend/open_webui/env.py` (+0 -3)
</details>
### 📄 Description
# Pull Request Checklist
**Before submitting, make sure you've checked the following:**
- [X] **Target branch:** Please verify that the pull request targets the `dev` branch.
- [X] **Description:** Provide a concise description of the changes made 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.
- [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? -> **NOT NEEDED, "HF_HUB_OFFLINE" is not even documented in the docs.** and OFFLINE_MODE is already documented
- [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
- [ ] **Testing:** Have you written and run sufficient tests for validating the changes?
- [X] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
- [X] **Prefix:** To cleary categorize this pull request, prefix the pull request title, using one of the following:
- **chore**: Refactor, cleanup, or other non-functional code changes
- **docs**: Documentation update or addition
# Changelog Entry
### Description
- I noticed that the HF_HUB_OFFLINE environment variable is not used anywhere. It was only stored/accessed in the env.py file and documented in the readme. It is not used anywhere else. Therefore, I removed the lines from the env.py file to remove the HF_HUB_OFFLINE environment variable and also changed the readme to instead reference the OFFLINE_MODE variable.
- HF_HUB_OFFLINE was removed as it is unused
---
<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/8557
Author: @Classic298
Created: 1/14/2025
Status: ❌ Closed
Base:
dev← Head:patch-1📝 Commits (3)
63ba87dUpdate env.py1884bbfUpdate README.md4e643d3Merge pull request #1 from Classic298/patch-2📊 Changes
2 files changed (+2 additions, -5 deletions)
View changed files
📝
README.md(+2 -2)📝
backend/open_webui/env.py(+0 -3)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
I noticed that the HF_HUB_OFFLINE environment variable is not used anywhere. It was only stored/accessed in the env.py file and documented in the readme. It is not used anywhere else. Therefore, I removed the lines from the env.py file to remove the HF_HUB_OFFLINE environment variable and also changed the readme to instead reference the OFFLINE_MODE variable.
HF_HUB_OFFLINE was removed as it is unused
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.