Skip to content
This repository was archived by the owner on May 5, 2026. It is now read-only.

Commit 60256d1

Browse files
chore(pyproject): remove playwright
* To reduce container image size, numbers of dependencies and unused code * Code removed in previous commit == Command used # uv remove pymilvus - playwright==1.49.1 - pyee==12.0.0 Saves around 125MB. Refs: PRODAI-198
1 parent eed5206 commit 60256d1

4 files changed

Lines changed: 0 additions & 38 deletions

File tree

backend/open_webui/main.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -660,9 +660,6 @@ async def lifespan(app: FastAPI):
660660
app.state.config.SOUGOU_API_SID = SOUGOU_API_SID
661661
app.state.config.SOUGOU_API_SK = SOUGOU_API_SK
662662

663-
664-
app.state.config.PLAYWRIGHT_WS_URL = PLAYWRIGHT_WS_URL
665-
app.state.config.PLAYWRIGHT_TIMEOUT = PLAYWRIGHT_TIMEOUT
666663
app.state.config.FIRECRAWL_API_BASE_URL = FIRECRAWL_API_BASE_URL
667664
app.state.config.FIRECRAWL_API_KEY = FIRECRAWL_API_KEY
668665
app.state.config.TAVILY_EXTRACT_DEPTH = TAVILY_EXTRACT_DEPTH

backend/open_webui/routers/retrieval.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,8 +675,6 @@ async def update_rag_config(
675675
"SOUGOU_API_SK": request.app.state.config.SOUGOU_API_SK,
676676
"WEB_LOADER_ENGINE": request.app.state.config.WEB_LOADER_ENGINE,
677677
"ENABLE_WEB_LOADER_SSL_VERIFICATION": request.app.state.config.ENABLE_WEB_LOADER_SSL_VERIFICATION,
678-
"PLAYWRIGHT_WS_URL": request.app.state.config.PLAYWRIGHT_WS_URL,
679-
"PLAYWRIGHT_TIMEOUT": request.app.state.config.PLAYWRIGHT_TIMEOUT,
680678
"FIRECRAWL_API_KEY": request.app.state.config.FIRECRAWL_API_KEY,
681679
"FIRECRAWL_API_BASE_URL": request.app.state.config.FIRECRAWL_API_BASE_URL,
682680
"TAVILY_EXTRACT_DEPTH": request.app.state.config.TAVILY_EXTRACT_DEPTH,

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ dependencies = [
4545
"posthog<6.0.0",
4646
"qdrant-client~=1.12.0",
4747
"opensearch-py==2.8.0",
48-
"playwright==1.49.1", # Caution: version must match docker-compose.playwright.yaml
4948
"elasticsearch==8.17.1",
5049
"einops==0.8.1",
5150
"ftfy==6.2.3",

uv.lock

Lines changed: 0 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)