Fix VLM PDF parser only parse first 12 pages, and default page range for PDF files align with backend (#16394)

1. Fix VLM parser only parse first 12 pages
2. Fix frontend default pages 1 - 100000, keep aligned with backend.
This commit is contained in:
Wang Qi
2026-06-26 20:15:25 +08:00
committed by GitHub
parent a57a841a11
commit 3a829fb6dd
2 changed files with 2 additions and 2 deletions

View File

@@ -247,7 +247,7 @@ export function ChunkMethodDialog({
pipeline_id: pipelineId || '',
parseType: pipelineId ? ParseType.Pipeline : ParseType.BuiltIn,
parser_config: fillDefaultParserValue({
pages: pages.length > 0 ? pages : [{ from: 1, to: 1024 }],
pages: pages.length > 0 ? pages : [{ from: 1, to: 100000 }],
...omit(parserConfig, 'pages'),
image_table_context_window:
parserConfig?.image_table_context_window ??