add support for LM Studio (#1663)

### What problem does this PR solve?

#1602 

### Type of change

- [x] New Feature (non-breaking change which adds functionality)

---------

Co-authored-by: Zhedong Cen <cenzhedong2@126.com>
This commit is contained in:
黄腾
2024-07-24 12:46:43 +08:00
committed by GitHub
parent 100b3165d8
commit d96348eb22
10 changed files with 9791 additions and 26 deletions

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 730 KiB

View File

@ -17,4 +17,4 @@ export const UserSettingIconMap = {
export * from '@/constants/setting';
export const LocalLlmFactories = ['Ollama', 'Xinference','LocalAI'];
export const LocalLlmFactories = ['Ollama', 'Xinference','LocalAI','LM-Studio'];

View File

@ -20,7 +20,8 @@ export const IconMap = {
OpenRouter: 'open-router',
LocalAI: 'local-ai',
StepFun: 'stepfun',
NVIDIA:'nvidia'
NVIDIA:'nvidia',
'LM-Studio':'lm-studio'
};
export const BedrockRegionList = [