From 26cf5131c90391fa4d5470aea75719e1e2b62c0d Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Tue, 11 Nov 2025 14:52:59 +0800 Subject: [PATCH] Fix: filter builtin llm factories. (#11163) ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- api/apps/llm_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/apps/llm_app.py b/api/apps/llm_app.py index e28f64704..4c40b8878 100644 --- a/api/apps/llm_app.py +++ b/api/apps/llm_app.py @@ -33,7 +33,7 @@ from rag.llm import EmbeddingModel, ChatModel, RerankModel, CvModel, TTSModel def factories(): try: fac = get_allowed_llm_factories() - fac = [f.to_dict() for f in fac if f.name not in ["Youdao", "FastEmbed", "BAAI"]] + fac = [f.to_dict() for f in fac if f.name not in ["Youdao", "FastEmbed", "BAAI", "Builtin"]] llms = LLMService.get_all() mdl_types = {} for m in llms: