mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2026-06-12 05:04:00 +03:00
Enable per-workspace provider/model combination (#1042)
* Enable per-workspace provider/model combination * cleanup * remove resetWorkspaceChatModels and wipeWorkspaceModelPreference to prevent workspace from resetting model * add space --------- Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "workspaces" ADD COLUMN "chatProvider" TEXT;
|
||||
@@ -98,6 +98,7 @@ model workspaces {
|
||||
lastUpdatedAt DateTime @default(now())
|
||||
openAiPrompt String?
|
||||
similarityThreshold Float? @default(0.25)
|
||||
chatProvider String?
|
||||
chatModel String?
|
||||
topN Int? @default(4)
|
||||
chatMode String? @default("chat")
|
||||
|
||||
Reference in New Issue
Block a user