$ the-wire · showcase
Pinned model defaults fixed for existing users
By RepoJournal · Filed · About Open WebUI
Default pinned models now apply immediately for users who had previously loaded Open WebUI.
A bug in admin settings made "Default Pinned Models" ineffective for any user who had already opened the interface once. The first page load copied the admin default into the user's own settings and saved it, marking them as customized and ignoring future changes. The default is now resolved for display only through a shared store, so per-user pins no longer shadow admin defaults after the initial visit. [1]
The Docker image sheds test-only dependencies: pytest, pytest-docker, and the docker SDK were still installed despite no test suite remaining, and netcat-openbsd is removed as it was never used. This shrinks the image for every variant. The related commit also removes moto from the "all" extras for pip installs. [2][3]
Seven route handlers no longer open a request-scoped database session they never used, including three endpoints the frontend calls on every page load: `/api/v1/users/user/settings`, `/user/status`, and `/user/info`. Dropping those unused session dependencies trims per-request overhead on frequent calls. [4]
Action items
- → Administrators: re-verify pinned model defaults for existing users after this fix ships open-webui/open-webui [plan]
- → Review your Dockerfile or compose overrides for removed packages (pytest, docker SDK, netcat) open-webui/open-webui [monitor]
References
- [1] fix: default pinned models stop applying after a user's first page load ↗ open-webui/open-webui
- [2] chore: drop test-only dependencies from the Docker image ↗ open-webui/open-webui
- [3] chore: drop test-only dependencies from the Docker image and the published package (#28726) ↗ open-webui/open-webui
- [4] perf: drop unused database session dependencies from seven endpoints (#28178) ↗ open-webui/open-webui