[PR #385] [MERGED] Warning about switching embedder or vectordb #3327

Closed
opened 2026-02-22 18:33:33 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/385
Author: @shatfield4
Created: 11/15/2023
Status: Merged
Merged: 11/16/2023
Merged by: @timothycarambat

Base: masterHead: 380-warning-about-switching-embedder-or-vectordb


📝 Commits (6)

  • 9c05a6f added warning modal to LLM preference
  • b9aedb2 added warning modal for changing embedder
  • 1dab875 remove warning from LLM preference & add warning to vector database selection
  • d907f40 linting
  • e50338b Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 380-warning-about-switching-embedder-or-vectordb
  • f9e9378 remove comments and move warning modal to component

📊 Changes

7 files changed (+146 additions, -28 deletions)

View changed files

frontend/src/components/ChangeWarning/index.jsx (+49 -0)
📝 frontend/src/pages/GeneralSettings/EmbeddingPreference/index.jsx (+33 -7)
📝 frontend/src/pages/GeneralSettings/VectorDatabase/index.jsx (+29 -7)
📝 server/endpoints/admin.js (+5 -7)
📝 server/endpoints/api/admin/index.js (+5 -7)
📝 server/models/documents.js (+13 -0)
📝 server/models/systemSettings.js (+12 -0)

📄 Description

resolves #380

Created modal that warns users when switching vector databases/embedders since this will create issues if they do not reembed the documents into the vector database.

Screen Shot 2023-11-15 at 5 28 05 PM


🔄 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/Mintplex-Labs/anything-llm/pull/385 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 11/15/2023 **Status:** ✅ Merged **Merged:** 11/16/2023 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `380-warning-about-switching-embedder-or-vectordb` --- ### 📝 Commits (6) - [`9c05a6f`](https://github.com/Mintplex-Labs/anything-llm/commit/9c05a6f8ac0cb58b33e55b47b47c7fe515ef6959) added warning modal to LLM preference - [`b9aedb2`](https://github.com/Mintplex-Labs/anything-llm/commit/b9aedb27bc3e973e04f5576783fc29fde8839b72) added warning modal for changing embedder - [`1dab875`](https://github.com/Mintplex-Labs/anything-llm/commit/1dab875acb44a7a2f9b54f6ff6752ca83c7bdcdf) remove warning from LLM preference & add warning to vector database selection - [`d907f40`](https://github.com/Mintplex-Labs/anything-llm/commit/d907f40480c35fca02b0634cddc5affa7fc0d931) linting - [`e50338b`](https://github.com/Mintplex-Labs/anything-llm/commit/e50338b002a4e9d60918b57d9ba78b45f7c314a7) Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 380-warning-about-switching-embedder-or-vectordb - [`f9e9378`](https://github.com/Mintplex-Labs/anything-llm/commit/f9e93783a5da4cb7a19a068daba305f9323cc1f9) remove comments and move warning modal to component ### 📊 Changes **7 files changed** (+146 additions, -28 deletions) <details> <summary>View changed files</summary> ➕ `frontend/src/components/ChangeWarning/index.jsx` (+49 -0) 📝 `frontend/src/pages/GeneralSettings/EmbeddingPreference/index.jsx` (+33 -7) 📝 `frontend/src/pages/GeneralSettings/VectorDatabase/index.jsx` (+29 -7) 📝 `server/endpoints/admin.js` (+5 -7) 📝 `server/endpoints/api/admin/index.js` (+5 -7) 📝 `server/models/documents.js` (+13 -0) 📝 `server/models/systemSettings.js` (+12 -0) </details> ### 📄 Description resolves #380 Created modal that warns users when switching vector databases/embedders since this will create issues if they do not reembed the documents into the vector database. ![Screen Shot 2023-11-15 at 5 28 05 PM](https://github.com/Mintplex-Labs/anything-llm/assets/2336488/7fe884c7-a5f6-4f56-97b3-fc3f21f4ee28) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:33:33 -05:00
yindo closed this issue 2026-02-22 18:33:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3327