Fix: file manager KB link issue. (#11648)

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu 2025-12-02 12:14:27 +08:00 committed by GitHub
parent b8c0fb4572
commit 299c655e39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,