refactor(setting): split model dialogs into separate components

This commit is contained in:
2025-10-24 11:41:44 +08:00
parent cdc0a466b4
commit a9b47f776b
10 changed files with 1103 additions and 897 deletions

View File

@@ -124,3 +124,18 @@ export const IconMap = {
[LLM_FACTORY_LIST.CometAPI]: 'cometapi',
[LLM_FACTORY_LIST.DeerAPI]: 'deerapi',
};
export const LocalLlmFactories: LLMFactory[] = [
LLM_FACTORY_LIST.LocalAI,
LLM_FACTORY_LIST.Ollama,
LLM_FACTORY_LIST.LMStudio,
LLM_FACTORY_LIST.Xinference,
LLM_FACTORY_LIST.VLLM,
LLM_FACTORY_LIST.OpenAiAPICompatible,
LLM_FACTORY_LIST.TogetherAI,
LLM_FACTORY_LIST.Replicate,
LLM_FACTORY_LIST.OpenRouter,
LLM_FACTORY_LIST.HuggingFace,
LLM_FACTORY_LIST.GPUStack,
LLM_FACTORY_LIST.ModelScope,
]