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.
🔄 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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:
main← Head:fix/model-saving📝 Commits (4)
4d37549fix(model-selector): prevent saving empty default model1da6d23Merge branch 'main' into fix/model-saving5ee58e1revert: vite config, hmr works without it22a8fa2Merge branch 'fix/model-saving' of https://github.com/anuraagdjain/ollama-webui into fix/model-saving📊 Changes
1 file changed (+6 additions, -1 deletions)
View changed files
📝
src/lib/components/chat/ModelSelector.svelte(+6 -1)📄 Description
set as defaultwithout actually choosing the model(s).npm run devand 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.