mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #19273] [CLOSED] feat: Admin model pinning #64010
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/19273
Author: @Classic298
Created: 11/18/2025
Status: ❌ Closed
Base:
dev← Head:admin-model-pinning📝 Commits (1)
0b4372eAdmin model pinning (#23) (#69)📊 Changes
8 files changed (+136 additions, -84 deletions)
View changed files
📝
backend/open_webui/config.py(+4 -0)📝
backend/open_webui/main.py(+4 -1)📝
backend/open_webui/routers/configs.py(+4 -0)📝
src/lib/components/admin/Settings/Models/ConfigureModelsModal.svelte(+33 -73)➕
src/lib/components/admin/Settings/Models/ModelListSelector.svelte(+59 -0)📝
src/lib/components/chat/ModelSelector.svelte(+1 -1)📝
src/lib/components/layout/Sidebar.svelte(+1 -5)📝
src/lib/components/layout/Sidebar/PinnedModelList.svelte(+30 -4)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch. Not targeting thedevbranch may lead to immediate closure of the PR.Changelog Entry
Description
Adds an admin configuration option to set default pinned models for all users, following the exact same behavior pattern as the existing "default models" setting. Admins can now define which models should be pinned to the sidebar by default, improving the out-of-box experience for new users while preserving user autonomy.
Pattern Matching: This feature precisely mirrors the existing default models behavior:
User-Friendly Behavior:
Existing Installations:
Screenshots or Videos
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.