From 299c655e39129bfd3b0192977fa3f24d00d677c3 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Tue, 2 Dec 2025 12:14:27 +0800 Subject: [PATCH] Fix: file manager KB link issue. (#11648) ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- api/apps/file2document_app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/apps/file2document_app.py b/api/apps/file2document_app.py index 54c314e74..84975ab1d 100644 --- a/api/apps/file2document_app.py +++ b/api/apps/file2document_app.py @@ -77,7 +77,8 @@ async def convert(): doc = DocumentService.insert({ "id": get_uuid(), "kb_id": kb.id, - "parser_id": FileService.get_parser(file.type, file.name, kb.parser_id), + "parser_id": kb.parser_id, + "pipeline_id": kb.pipeline_id, "parser_config": kb.parser_config, "created_by": current_user.id, "type": file.type,