anything-llm/server/endpoints/api
Sean Hatfield 90df37582b
Per workspace model selection (#582)
* WIP model selection per workspace (migrations and openai saves properly

* revert OpenAiOption

* add support for models per workspace for anthropic, localAi, ollama, openAi, and togetherAi

* remove unneeded comments

* update logic for when LLMProvider is reset, reset Ai provider files with master

* remove frontend/api reset of workspace chat and move logic to updateENV
add postUpdate callbacks to envs

* set preferred model for chat on class instantiation

* remove extra param

* linting

* remove unused var

* refactor chat model selection on workspace

* linting

* add fallback for base path to localai models

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-01-17 12:59:25 -08:00
..
admin patch workspace-chats API endpoint to be generally available instead of forced multi-user 2024-01-02 12:44:17 -08:00
auth Full developer api (#221) 2023-08-23 19:15:07 -07:00
document 570 document api return object (#608) 2024-01-16 16:04:22 -08:00
system Per workspace model selection (#582) 2024-01-17 12:59:25 -08:00
workspace 570 document api return object (#608) 2024-01-16 16:04:22 -08:00
index.js Full developer api (#221) 2023-08-23 19:15:07 -07:00