forked from Mintplex-Labs/anything-llm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] Auto detection for Ollama and LMStudio (Mintplex-Labs#1756)
* add ollama automatic url detection in llm and embedder prefrences * implement auto detection for lmstudio llm and embedder/improve performance of checking common urls * fix modal not clearing * fix lmstudio url check * improve ux for ollama llm provider option * improve ux for lm studio llm provider option * improve ux for ollama embedder option * improve ux for lmstudio embedder option * ux improvement lmstudio embedder options * refactor implementation to hook and use native timeout Swap to promise.any for resolving of available endpoints * implement useProviderEndpointAutoDiscovery hook for lmstudio and ollama provider options --------- Co-authored-by: timothycarambat <[email protected]>
- Loading branch information
Showing
7 changed files
with
596 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.