From 5f65c7f48ed6002084480626f22e38ca7f6122fe Mon Sep 17 00:00:00 2001 From: Yongteng Lei Date: Thu, 30 Oct 2025 17:59:50 +0800 Subject: [PATCH] Fix: video parser should follow selected VLM in pipeline (#10900) ### What problem does this PR solve? Video parser should follow selected VLM, rather than default one. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- rag/flow/parser/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rag/flow/parser/parser.py b/rag/flow/parser/parser.py index b0b5da2cc..836481f1e 100644 --- a/rag/flow/parser/parser.py +++ b/rag/flow/parser/parser.py @@ -431,7 +431,7 @@ class Parser(ProcessBase): conf = self._param.setups["video"] self.set_output("output_format", conf["output_format"]) - cv_mdl = LLMBundle(self._canvas.get_tenant_id(), LLMType.IMAGE2TEXT) + cv_mdl = LLMBundle(self._canvas.get_tenant_id(), LLMType.IMAGE2TEXT, llm_name=conf["llm_id"]) txt = cv_mdl.chat(system="", history=[], gen_conf={}, video_bytes=blob, filename=name) self.set_output("text", txt)