Fixe: model provider issues and improved some features #10703 (#11168)

### What problem does this PR solve?

Fixes: Fixed model provider issues and improved some features
- Removed the old login page
- Updated model provider icons
- Added RAPTOR modification range parameter

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-11-11 16:26:26 +08:00
committed by GitHub
parent 377c0fb4fa
commit 522c7b7ac6
74 changed files with 203 additions and 10981 deletions

View File

@ -31,7 +31,6 @@ export enum LLMFactory {
NovitaAI = 'NovitaAI',
SILICONFLOW = 'SILICONFLOW',
PPIO = 'PPIO',
ZeroOneAI = '01.AI',
Replicate = 'Replicate',
TencentHunYuan = 'Tencent Hunyuan',
XunFeiSpark = 'XunFei Spark',
@ -58,11 +57,12 @@ export enum LLMFactory {
Meituan = 'Meituan',
CometAPI = 'CometAPI',
DeerAPI = 'DeerAPI',
Builtin = 'Builtin',
}
// Please lowercase the file name
export const IconMap = {
[LLMFactory.TongYiQianWen]: 'tongyi',
[LLMFactory.TongYiQianWen]: 'tongyi-qianwen',
[LLMFactory.Moonshot]: 'moonshot',
[LLMFactory.OpenAI]: 'openai',
[LLMFactory.ZhipuAI]: 'zhipu',
@ -71,7 +71,7 @@ export const IconMap = {
[LLMFactory.Xinference]: 'xinference',
[LLMFactory.ModelScope]: 'modelscope',
[LLMFactory.DeepSeek]: 'deepseek',
[LLMFactory.VolcEngine]: 'volc_engine',
[LLMFactory.VolcEngine]: 'volcengine',
[LLMFactory.BaiChuan]: 'baichuan',
[LLMFactory.Jina]: 'jina',
[LLMFactory.MiniMax]: 'chat-minimax',
@ -87,18 +87,17 @@ export const IconMap = {
[LLMFactory.LMStudio]: 'lm-studio',
[LLMFactory.OpenAiAPICompatible]: 'openai-api',
[LLMFactory.Cohere]: 'cohere',
[LLMFactory.LeptonAI]: 'lepton-ai',
[LLMFactory.TogetherAI]: 'together-ai',
[LLMFactory.LeptonAI]: 'lepton',
[LLMFactory.TogetherAI]: 'together',
[LLMFactory.PerfXCloud]: 'perfx-cloud',
[LLMFactory.Upstage]: 'upstage',
[LLMFactory.NovitaAI]: 'novita-ai',
[LLMFactory.SILICONFLOW]: 'siliconflow',
[LLMFactory.PPIO]: 'ppio',
[LLMFactory.ZeroOneAI]: 'yi',
[LLMFactory.Replicate]: 'replicate',
[LLMFactory.TencentHunYuan]: 'hunyuan',
[LLMFactory.XunFeiSpark]: 'spark',
[LLMFactory.BaiduYiYan]: 'yiyan',
[LLMFactory.BaiduYiYan]: 'wenxinyiyan',
[LLMFactory.FishAudio]: 'fish-audio',
[LLMFactory.TencentCloud]: 'tencent-cloud',
[LLMFactory.Anthropic]: 'anthropic',
@ -117,8 +116,9 @@ export const IconMap = {
[LLMFactory.DeepInfra]: 'deepinfra',
[LLMFactory.Grok]: 'grok',
[LLMFactory.XAI]: 'xai',
[LLMFactory.TokenPony]: 'token-pony',
[LLMFactory.TokenPony]: 'tokenpony',
[LLMFactory.Meituan]: 'longcat',
[LLMFactory.CometAPI]: 'cometapi',
[LLMFactory.DeerAPI]: 'deerapi',
[LLMFactory.Builtin]: 'builtin',
};