Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: Update lm studio models support, refer to #8116 (#10509)

Billy Bao24481f033291
diff --git a/docs/references/supported_models.mdx b/docs/references/supported_models.mdx
index 7e704067b6..9c00840b4a 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 dd86b5796a..8ef4199d68 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' },