[PR #308] [MERGED] fix(model-selector): prevent saving empty default model #75122

Closed
opened 2026-05-13 08:05:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/308
Author: @anuraagdjain
Created: 12/28/2023
Status: Merged
Merged: 12/28/2023
Merged by: @tjbck

Base: mainHead: fix/model-saving


📝 Commits (4)

📊 Changes

1 file changed (+6 additions, -1 deletions)

View changed files

📝 src/lib/components/chat/ModelSelector.svelte (+6 -1)

📄 Description

  • throw a toast error when user is trying to click on set as default without actually choosing the model(s).
  • feat: added hmr for local development. use npm run dev and you get page reload + backend functionality without needing to build every time for small changes.

https://github.com/ollama-webui/ollama-webui/assets/4705103/e72ea83a-4854-4439-9bf3-c325c51ab820


🔄 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/308 **Author:** [@anuraagdjain](https://github.com/anuraagdjain) **Created:** 12/28/2023 **Status:** ✅ Merged **Merged:** 12/28/2023 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `fix/model-saving` --- ### 📝 Commits (4) - [`4d37549`](https://github.com/open-webui/open-webui/commit/4d3754980dd87bb026dd3cae61f8a6be7c6fbbd4) fix(model-selector): prevent saving empty default model - [`1da6d23`](https://github.com/open-webui/open-webui/commit/1da6d23d5cbdbcf748add05a3bef6af1b201f691) Merge branch 'main' into fix/model-saving - [`5ee58e1`](https://github.com/open-webui/open-webui/commit/5ee58e1c7963a1772f2cc0d0dfba8a07b8a28963) revert: vite config, hmr works without it - [`22a8fa2`](https://github.com/open-webui/open-webui/commit/22a8fa2f107125ead76a112a10178620d5ce8a2c) Merge branch 'fix/model-saving' of https://github.com/anuraagdjain/ollama-webui into fix/model-saving ### 📊 Changes **1 file changed** (+6 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/ModelSelector.svelte` (+6 -1) </details> ### 📄 Description - throw a toast error when user is trying to click on `set as default` without actually choosing the model(s). - feat: added hmr for local development. use `npm run dev` and you get page reload + backend functionality without needing to build every time for small changes. https://github.com/ollama-webui/ollama-webui/assets/4705103/e72ea83a-4854-4439-9bf3-c325c51ab820 --- <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-05-13 08:05:25 -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#75122