Skip to content

Conversation

@serge-medvedev
Copy link

  • Prevent cached Standard PdfFormatOption from being reused for VLM tasks by hashing pipeline cls/backend and pipeline options type, ensuring VLM requests get their own PdfFormatOption and the right pipeline class (avoids the .ocr_options crash in Docling Serve when hybrid chunking sends image payloads with pipeline: vlm and a VLM API model).
  • Keep VLM runs aligned with picture description settings (classification/description flags, API/local config, area threshold) and
    use the VLM image format option when the VLM pipeline is selected.
  • Tests: pytest tests/test_options.py

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

DCO Check Passed

Thanks @serge-medvedev, all your commits are properly signed off. 🎉

@mergify
Copy link

mergify bot commented Dec 5, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

I, Serge Medvedev <[email protected]>, hereby add my Signed-off-by to this commit: e0601a7

Signed-off-by: Serge Medvedev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant