From 24481f03329196cc0aa2816f72a8df814276b974 Mon Sep 17 00:00:00 2001 From: Billy Bao Date: Mon, 13 Oct 2025 13:58:08 +0800 Subject: [PATCH] Fix: Update lm studio models support, refer to #8116 (#10509) ### What problem does this PR solve? Fix: Update lm studio models support, refer to #8116 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) - [x] Documentation Update --- docs/references/supported_models.mdx | 2 +- .../pages/user-setting/setting-model/ollama-modal/index.tsx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/references/supported_models.mdx b/docs/references/supported_models.mdx index 7e704067b..9c00840b4 100644 --- a/docs/references/supported_models.mdx +++ b/docs/references/supported_models.mdx @@ -33,7 +33,7 @@ A complete list of models supported by RAGFlow, which will continue to expand. | Jina | | :heavy_check_mark: | :heavy_check_mark: | | | | | LeptonAI | :heavy_check_mark: | | | | | | | LocalAI | :heavy_check_mark: | :heavy_check_mark: | | :heavy_check_mark: | | | -| LM-Studio | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | | +| LM-Studio | :heavy_check_mark: | :heavy_check_mark: | | :heavy_check_mark: | | | | MiniMax | :heavy_check_mark: | | | | | | | Mistral | :heavy_check_mark: | :heavy_check_mark: | | | | | | ModelScope | :heavy_check_mark: | | | | | | diff --git a/web/src/pages/user-setting/setting-model/ollama-modal/index.tsx b/web/src/pages/user-setting/setting-model/ollama-modal/index.tsx index dd86b5796..8ef4199d6 100644 --- a/web/src/pages/user-setting/setting-model/ollama-modal/index.tsx +++ b/web/src/pages/user-setting/setting-model/ollama-modal/index.tsx @@ -107,6 +107,11 @@ const OllamaModal = ({ { value: 'chat', label: 'chat' }, { value: 'rerank', label: 'rerank' }, ], + [LLMFactory.LMStudio]: [ + { value: 'chat', label: 'chat' }, + { value: 'embedding', label: 'embedding' }, + { value: 'image2text', label: 'image2text' }, + ], [LLMFactory.Xinference]: [ { value: 'chat', label: 'chat' }, { value: 'embedding', label: 'embedding' },