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: get_allowed_llm_factories() return type (#11031)
Billy Bao24335485bfb1
diff --git a/api/utils/api_utils.py b/api/utils/api_utils.pyindex 8980524477..fb1d06f5bb 100644--- a/api/utils/api_utils.py+++ b/api/utils/api_utils.py@@ -626,8 +626,8 @@ async def is_strong_enough(chat_model, embedding_model):def get_allowed_llm_factories() -> list:- factories = LLMFactoriesService.get_all()+ factories = list(LLMFactoriesService.get_all())if settings.ALLOWED_LLM_FACTORIES is None:- return list(factories)+ return factoriesreturn [factory for factory in factories if factory.name in settings.ALLOWED_LLM_FACTORIES]