[PR #15809] [CLOSED] Dev fix add post hog lib #23946

Closed
opened 2026-04-20 05:08:12 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/15809
Author: @rgaricano
Created: 7/17/2025
Status: Closed

Base: mainHead: dev-Fix_AddPostHog_lib


📝 Commits (10+)

  • 8a4ea2b i18n: Fix zh-CN
  • 9063942 Merge pull request #15712 from qingchunnh/Update_zh-CN-25715-2
  • 07bb5cc Update pl_PL locale
  • 17f0bef refactor: use cleanup_response on openai
  • 058369a fix: improve cleanup_response positioning for better resource management
  • 1092827 Fix some FileItemModal.svelte- locales strings
  • 120b8f2 fix: update FileItemModal.svelte- locales strings
  • f7fae94 fix/refac: hide system prompt for users w/o permission
  • e72da0d refac/fix: WEBSOCKET_REDIS_LOCK_TIMEOUT type
  • 6343f42 refac

📊 Changes

33 files changed (+3599 additions, -2668 deletions)

View changed files

📝 backend/open_webui/config.py (+13 -0)
📝 backend/open_webui/env.py (+16 -4)
📝 backend/open_webui/models/groups.py (+53 -1)
📝 backend/open_webui/retrieval/utils.py (+3 -0)
📝 backend/open_webui/routers/audio.py (+7 -3)
📝 backend/open_webui/routers/chats.py (+14 -6)
📝 backend/open_webui/routers/groups.py (+51 -0)
📝 backend/open_webui/routers/ollama.py (+3 -1)
📝 backend/open_webui/routers/openai.py (+6 -12)
📝 backend/open_webui/routers/retrieval.py (+14 -6)
📝 backend/open_webui/routers/tasks.py (+1 -1)
📝 backend/open_webui/socket/main.py (+3 -2)
backend/open_webui/test/util/test_redis.py (+793 -0)
📝 backend/open_webui/utils/middleware.py (+33 -17)
📝 backend/open_webui/utils/redis.py (+100 -4)
📝 backend/requirements.txt (+1 -0)
📝 pyproject.toml (+7 -0)
📝 src/lib/components/chat/Chat.svelte (+1 -1)
📝 src/lib/components/chat/MessageInput.svelte (+20 -0)
📝 src/lib/components/common/FileItemModal.svelte (+2 -2)

...and 13 more files

📄 Description

Description

Add "posthog==5.4.0" lib to pyproject.toml & backend/requirements.txt to avoid chromadb issue for lib versions incompatibility with that lib (chromadb requiere posthog>=2.4.0,<6.0.0 ) which produce error in opentelemetry.

issue: https://github.com/open-webui/open-webui/discussions/15624

Added

Add "posthog==5.4.0" lib to pyproject.toml & backend/requirements.txt


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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/15809 **Author:** [@rgaricano](https://github.com/rgaricano) **Created:** 7/17/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dev-Fix_AddPostHog_lib` --- ### 📝 Commits (10+) - [`8a4ea2b`](https://github.com/open-webui/open-webui/commit/8a4ea2b80186bf34c79284dc11a395a183957838) i18n: Fix zh-CN - [`9063942`](https://github.com/open-webui/open-webui/commit/9063942055870930946373a7036fa639ccea1dc3) Merge pull request #15712 from qingchunnh/Update_zh-CN-25715-2 - [`07bb5cc`](https://github.com/open-webui/open-webui/commit/07bb5cc4aaf1926e9cff3736097a3ba36cfcb85c) Update pl_PL locale - [`17f0bef`](https://github.com/open-webui/open-webui/commit/17f0bef2e204072c07daacc5c63f7c2d6e357312) refactor: use cleanup_response on openai - [`058369a`](https://github.com/open-webui/open-webui/commit/058369adeaf6873801d89c6a30ca16da2a320e06) fix: improve cleanup_response positioning for better resource management - [`1092827`](https://github.com/open-webui/open-webui/commit/1092827895b5bb0cf68c54d653db6649de409299) Fix some FileItemModal.svelte- locales strings - [`120b8f2`](https://github.com/open-webui/open-webui/commit/120b8f2a838c7ba70c20dbab7dd34253dbd1292a) fix: update FileItemModal.svelte- locales strings - [`f7fae94`](https://github.com/open-webui/open-webui/commit/f7fae947a7eebcbcc91c5b57c2f84c70b4f27d6e) fix/refac: hide system prompt for users w/o permission - [`e72da0d`](https://github.com/open-webui/open-webui/commit/e72da0df5a4a6983840dc6a9492e872d066e5b51) refac/fix: WEBSOCKET_REDIS_LOCK_TIMEOUT type - [`6343f42`](https://github.com/open-webui/open-webui/commit/6343f4293ad3fb36e7690d826d7af25372b9ddbe) refac ### 📊 Changes **33 files changed** (+3599 additions, -2668 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/config.py` (+13 -0) 📝 `backend/open_webui/env.py` (+16 -4) 📝 `backend/open_webui/models/groups.py` (+53 -1) 📝 `backend/open_webui/retrieval/utils.py` (+3 -0) 📝 `backend/open_webui/routers/audio.py` (+7 -3) 📝 `backend/open_webui/routers/chats.py` (+14 -6) 📝 `backend/open_webui/routers/groups.py` (+51 -0) 📝 `backend/open_webui/routers/ollama.py` (+3 -1) 📝 `backend/open_webui/routers/openai.py` (+6 -12) 📝 `backend/open_webui/routers/retrieval.py` (+14 -6) 📝 `backend/open_webui/routers/tasks.py` (+1 -1) 📝 `backend/open_webui/socket/main.py` (+3 -2) ➕ `backend/open_webui/test/util/test_redis.py` (+793 -0) 📝 `backend/open_webui/utils/middleware.py` (+33 -17) 📝 `backend/open_webui/utils/redis.py` (+100 -4) 📝 `backend/requirements.txt` (+1 -0) 📝 `pyproject.toml` (+7 -0) 📝 `src/lib/components/chat/Chat.svelte` (+1 -1) 📝 `src/lib/components/chat/MessageInput.svelte` (+20 -0) 📝 `src/lib/components/common/FileItemModal.svelte` (+2 -2) _...and 13 more files_ </details> ### 📄 Description ### Description Add "posthog==5.4.0" lib to pyproject.toml & backend/requirements.txt to avoid chromadb issue for lib versions incompatibility with that lib (chromadb requiere posthog>=2.4.0,<6.0.0 ) which produce error in opentelemetry. issue: https://github.com/open-webui/open-webui/discussions/15624 ### Added Add "posthog==5.4.0" lib to pyproject.toml & backend/requirements.txt ______ ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <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-04-20 05:08:12 -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#23946