[PR #1042] [MERGED] Enable per-workspace provider/model combination #3562

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1042
Author: @timothycarambat
Created: 4/4/2024
Status: Merged
Merged: 4/5/2024
Merged by: @timothycarambat

Base: masterHead: 698-llm-workspace-override


📝 Commits (5)

  • b7bb1c3 Enable per-workspace provider/model combination
  • 1dd444e cleanup
  • ce5d26f Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 698-llm-workspace-override
  • 4f4835b remove resetWorkspaceChatModels and wipeWorkspaceModelPreference to prevent workspace from resetting model
  • 8a73937 add space

📊 Changes

27 files changed (+836 additions, -461 deletions)

View changed files

📝 frontend/src/components/LLMSelection/AnthropicAiOptions/index.jsx (+29 -47)
📝 frontend/src/components/LLMSelection/GeminiLLMOptions/index.jsx (+21 -19)
📝 frontend/src/components/LLMSelection/GroqAiOptions/index.jsx (+21 -19)
📝 frontend/src/components/LLMSelection/LMStudioOptions/index.jsx (+21 -17)
📝 frontend/src/components/LLMSelection/LocalAiOptions/index.jsx (+25 -21)
📝 frontend/src/components/LLMSelection/MistralOptions/index.jsx (+3 -1)
📝 frontend/src/components/LLMSelection/OllamaLLMOptions/index.jsx (+21 -17)
📝 frontend/src/components/LLMSelection/OpenAiOptions/index.jsx (+3 -1)
📝 frontend/src/components/LLMSelection/OpenRouterOptions/index.jsx (+4 -2)
📝 frontend/src/components/LLMSelection/PerplexityOptions/index.jsx (+3 -1)
📝 frontend/src/components/LLMSelection/TogetherAiOptions/index.jsx (+4 -2)
📝 frontend/src/hooks/useGetProvidersModels.js (+1 -1)
📝 frontend/src/pages/GeneralSettings/LLMPreference/index.jsx (+131 -110)
📝 frontend/src/pages/WorkspaceSettings/ChatSettings/ChatModelSelection/index.jsx (+6 -11)
frontend/src/pages/WorkspaceSettings/ChatSettings/WorkspaceLLMSelection/WorkspaceLLMItem/index.jsx (+151 -0)
frontend/src/pages/WorkspaceSettings/ChatSettings/WorkspaceLLMSelection/index.jsx (+159 -0)
📝 frontend/src/pages/WorkspaceSettings/ChatSettings/index.jsx (+41 -31)
📝 server/endpoints/workspaces.js (+2 -2)
📝 server/models/systemSettings.js (+104 -92)
📝 server/models/workspace.js (+54 -37)

...and 7 more files

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #698

What is in this change?

Enable per-workspace model & provider combination with persistence and auto-config on selection.

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/1042 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 4/4/2024 **Status:** ✅ Merged **Merged:** 4/5/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `698-llm-workspace-override` --- ### 📝 Commits (5) - [`b7bb1c3`](https://github.com/Mintplex-Labs/anything-llm/commit/b7bb1c34f940ae868e1f3676b6a1eaf6f9542584) Enable per-workspace provider/model combination - [`1dd444e`](https://github.com/Mintplex-Labs/anything-llm/commit/1dd444edfe08b626b0d6e491ac91b204bbf86c60) cleanup - [`ce5d26f`](https://github.com/Mintplex-Labs/anything-llm/commit/ce5d26f98e8ffd99874148cc47942b94e65a0364) Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 698-llm-workspace-override - [`4f4835b`](https://github.com/Mintplex-Labs/anything-llm/commit/4f4835b0da8fb40ef31bd46aad5588b0f1ac9022) remove resetWorkspaceChatModels and wipeWorkspaceModelPreference to prevent workspace from resetting model - [`8a73937`](https://github.com/Mintplex-Labs/anything-llm/commit/8a7393739180847aa6f127f7ab9f13410de9a833) add space ### 📊 Changes **27 files changed** (+836 additions, -461 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/LLMSelection/AnthropicAiOptions/index.jsx` (+29 -47) 📝 `frontend/src/components/LLMSelection/GeminiLLMOptions/index.jsx` (+21 -19) 📝 `frontend/src/components/LLMSelection/GroqAiOptions/index.jsx` (+21 -19) 📝 `frontend/src/components/LLMSelection/LMStudioOptions/index.jsx` (+21 -17) 📝 `frontend/src/components/LLMSelection/LocalAiOptions/index.jsx` (+25 -21) 📝 `frontend/src/components/LLMSelection/MistralOptions/index.jsx` (+3 -1) 📝 `frontend/src/components/LLMSelection/OllamaLLMOptions/index.jsx` (+21 -17) 📝 `frontend/src/components/LLMSelection/OpenAiOptions/index.jsx` (+3 -1) 📝 `frontend/src/components/LLMSelection/OpenRouterOptions/index.jsx` (+4 -2) 📝 `frontend/src/components/LLMSelection/PerplexityOptions/index.jsx` (+3 -1) 📝 `frontend/src/components/LLMSelection/TogetherAiOptions/index.jsx` (+4 -2) 📝 `frontend/src/hooks/useGetProvidersModels.js` (+1 -1) 📝 `frontend/src/pages/GeneralSettings/LLMPreference/index.jsx` (+131 -110) 📝 `frontend/src/pages/WorkspaceSettings/ChatSettings/ChatModelSelection/index.jsx` (+6 -11) ➕ `frontend/src/pages/WorkspaceSettings/ChatSettings/WorkspaceLLMSelection/WorkspaceLLMItem/index.jsx` (+151 -0) ➕ `frontend/src/pages/WorkspaceSettings/ChatSettings/WorkspaceLLMSelection/index.jsx` (+159 -0) 📝 `frontend/src/pages/WorkspaceSettings/ChatSettings/index.jsx` (+41 -31) 📝 `server/endpoints/workspaces.js` (+2 -2) 📝 `server/models/systemSettings.js` (+104 -92) 📝 `server/models/workspace.js` (+54 -37) _...and 7 more files_ </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #698 ### What is in this change? Enable per-workspace model & provider combination with persistence and auto-config on selection. ### Additional Information ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <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:34:02 -05:00
yindo closed this issue 2026-02-22 18:34:02 -05:00
yindo changed title from [PR #1042] Enable per-workspace provider/model combination to [PR #1042] [MERGED] Enable per-workspace provider/model combination 2026-06-05 15:14:04 -04: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#3562