From 8f5f2668dc45d27647063da44b02789176312341 Mon Sep 17 00:00:00 2001 From: Sushant Gautam Date: Wed, 14 Oct 2026 22:35:46 +0200 Subject: [PATCH] fix(chat): bump bundled Open WebUI pin to v0.12.0-subpath The embedded-mode wheel pin in chat/proxy.py still pointed at the v0.11.4.3-subpath release even though the docker image default and the subpath docs (deploy/openwebui-subpath) already track v0.12.0. Align the embedded CLI-uvicorn launch with the published v0.12.0-subpath wheel so both modes serve the same build, and update the config comment + test assertion to match. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- chat/config.py | 2 +- chat/proxy.py | 2 +- chat/tests/test_proxy.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chat/config.py b/chat/config.py index af081f78..deb5d22e 100644 --- a/chat/config.py +++ b/chat/config.py @@ -57,7 +57,7 @@ def is_disabled(value: str | None) -> bool: ENABLED = not is_disabled(MODE) #: The base path the Open WebUI subpath build serves at. Must match the -#: WEBUI_SUBPATH baked into the image (0.11.4.3-subpath -> /chat). Defined +#: WEBUI_SUBPATH baked into the image (0.12.0-subpath -> /chat). Defined #: first: UPSTREAM below bakes it into the default. SUBPATH = os.environ.get("SIMPLEAUDIT_CHAT_SUBPATH", "/chat") if not SUBPATH.startswith("/"): diff --git a/chat/proxy.py b/chat/proxy.py index 5157e3fe..9d757f33 100644 --- a/chat/proxy.py +++ b/chat/proxy.py @@ -575,7 +575,7 @@ def start_open_webui(studio_port: int | None = None) -> subprocess.Popen: OWUI_WHEEL_URL = os.environ.get( "SIMPLEAUDIT_CHAT_WHEEL", "https://github.com/SushantGautam/open-webui/releases/download/" - "v0.11.4.3-subpath/open_webui-0.11.4.3-py3-none-any.whl", + "v0.12.0-subpath/open_webui-0.12.0-py3-none-any.whl", ) OWUI_PACKAGE = os.environ.get("SIMPLEAUDIT_CHAT_PACKAGE", "open-webui") diff --git a/chat/tests/test_proxy.py b/chat/tests/test_proxy.py index 78808e48..594600d1 100644 --- a/chat/tests/test_proxy.py +++ b/chat/tests/test_proxy.py @@ -379,8 +379,8 @@ class WheelMarkerTests(SimpleTestCase): """ def test_default_wheel_is_content_capture_release(self): - self.assertIn("v0.11.4.3-subpath", proxy.OWUI_WHEEL_URL) - self.assertIn("open_webui-0.11.4.3-py3-none-any.whl", proxy.OWUI_WHEEL_URL) + self.assertIn("v0.12.0-subpath", proxy.OWUI_WHEEL_URL) + self.assertIn("open_webui-0.12.0-py3-none-any.whl", proxy.OWUI_WHEEL_URL) def test_install_requirement_includes_observability_extra(self): requirement = proxy._owui_install_requirement()