RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix: Model provider bugs (#15770)
chanx2bd8900638b6
diff --git a/web/src/components/ui/toggle-list.tsx b/web/src/components/ui/toggle-list.tsxindex e663847c86..aebb3da882 100644--- a/web/src/components/ui/toggle-list.tsx+++ b/web/src/components/ui/toggle-list.tsx@@ -104,7 +104,7 @@ export function ToggleList<V = unknown>({className,btnText,options,- closeOnOutsideClick = true,+ closeOnOutsideClick = false,maxHeight = 500,listClassName,itemClassName,diff --git a/web/src/pages/user-setting/setting-model/modal/provider-modal/constants.ts b/web/src/pages/user-setting/setting-model/modal/provider-modal/constants.tsindex 751788d673..e340911419 100644--- a/web/src/pages/user-setting/setting-model/modal/provider-modal/constants.ts+++ b/web/src/pages/user-setting/setting-model/modal/provider-modal/constants.ts@@ -14,9 +14,7 @@ import { LLMFactory } from '@/constants/llm';* 4 model_* fields directly.*/export const LIST_MODEL_PROVIDERS = new Set<string>([- LLMFactory.HuggingFace,LLMFactory.Ollama,- LLMFactory.GoogleCloud,LLMFactory.OpenRouter,LLMFactory.VLLM,LLMFactory.OpenAiAPICompatible,@@ -25,12 +23,15 @@ export const LIST_MODEL_PROVIDERS = new Set<string>([LLMFactory.Xinference,LLMFactory.LocalAI,LLMFactory.BaiduYiYan,- LLMFactory.TencentCloud,- LLMFactory.XunFeiSpark,- LLMFactory.GPUStack,- LLMFactory.FishAudio,- LLMFactory.MinerU,- LLMFactory.PaddleOCR,++ // LLMFactory.HuggingFace,+ // LLMFactory.GoogleCloud,+ // LLMFactory.TencentCloud,+ // LLMFactory.XunFeiSpark,+ // LLMFactory.GPUStack,+ // LLMFactory.FishAudio,+ // LLMFactory.MinerU,+ // LLMFactory.PaddleOCR,]);/**diff --git a/web/src/pages/user-setting/setting-model/modal/provider-modal/index.tsx b/web/src/pages/user-setting/setting-model/modal/provider-modal/index.tsxindex 682b3d9cc3..33f38fe79e 100644--- a/web/src/pages/user-setting/setting-model/modal/provider-modal/index.tsx+++ b/web/src/pages/user-setting/setting-model/modal/provider-modal/index.tsx@@ -128,7 +128,7 @@ const ProviderModal = ({<ToggleListclassName="w-full"buttonClassName="self-end"- // searchable+ searchable={listModelsOptions.length > 10}btnText={hasModelNameField ? t('listModels') : 'Select an option'}options={hasModelNameField@@ -142,7 +142,6 @@ const ProviderModal = ({searchLoading={listLoading}onOpenChange={handleListOpenChange}maxHeight={400}- closeOnOutsideClick/>)}