Skip to content

fix: configuration and performance fixes via upgrade of packages#328

Merged
vku-ibm merged 1 commit intomainfrom
various-updates
Aug 20, 2025
Merged

fix: configuration and performance fixes via upgrade of packages#328
vku-ibm merged 1 commit intomainfrom
various-updates

Conversation

@dolfim-ibm
Copy link
Member

Relevant Docling updates:

Relevant Docling Jobkit updates:

Issue resolved by this Pull Request:
Resolves #325

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
@dolfim-ibm dolfim-ibm requested a review from vku-ibm August 20, 2025 15:33
@github-actions
Copy link
Contributor

DCO Check Passed

Thanks @dolfim-ibm, all your commits are properly signed off. 🎉

@mergify
Copy link

mergify bot commented Aug 20, 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)(?:\(.+\))?(!)?:

@vku-ibm vku-ibm merged commit f02dbc0 into main Aug 20, 2025
11 checks passed
@vku-ibm vku-ibm deleted the various-updates branch August 20, 2025 18:40
@dosubot
Copy link

dosubot bot commented Aug 20, 2025

Documentation updates
No documents were updated by changes in this PR

How did I do? Any feedback?  Join Discord

pvliesdonk added a commit to pvliesdonk/docling-serve that referenced this pull request Feb 28, 2026
…erManagerConfig

The `allow_custom_vlm_config`, `allow_custom_picture_description_config`,
and `allow_custom_code_formula_config` flags exist in docling-jobkit's
`DoclingConverterManagerConfig` but were never exposed in docling-serve.
As a result, `vlm_pipeline_custom_config` (and its siblings) always raised
a 422 error regardless of any env var an administrator set.

Add the three fields to `DoclingServeSettings`, wired via pydantic-settings to:
- `DOCLING_SERVE_ALLOW_CUSTOM_VLM_CONFIG`
- `DOCLING_SERVE_ALLOW_CUSTOM_PICTURE_DESCRIPTION_CONFIG`
- `DOCLING_SERVE_ALLOW_CUSTOM_CODE_FORMULA_CONFIG`

Pass the fields through in both `DoclingConverterManagerConfig` instantiation
sites (`orchestrator_factory.py` and `__main__.py`), following the same
pattern established for `allow_external_plugins` in docling-project#328.

Update `docs/configuration.md` to document the three new env vars.

Resolves docling-project#526

Signed-off-by: Peter van Liesdonk <peter@liesdonk.nl>
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.

DOCLING_SERVE_ALLOW_EXTERNAL_PLUGINS env var doesn't work

2 participants