Skip to content

Allow container builds to opt in to PDF ingestion - #572

Open
git-jxj wants to merge 1 commit into
vllm-project:mainfrom
git-jxj:fix/container-file-search-pdf
Open

git-jxj wants to merge 1 commit into
vllm-project:mainfrom
git-jxj:fix/container-file-search-pdf

Conversation

@git-jxj

@git-jxj git-jxj commented Nov 19, 2026

Copy link
Copy Markdown

Summary

The published images use the default feature set, so they can store and download PDFs but cannot ingest them into vector stores. This adds a documented build argument for operators who need PDF ingestion in a container.

Changes by API

No wire change. The Dockerfile forwards an optional CARGO_FEATURES argument to both dependency preparation and the final Cargo build. The default build keeps its existing feature set.

Test Plan

  • Checked the Dockerfile with BuildKit and verified the default and opt-in build steps from the frontend's generated LLB.
  • Built both target binaries with locked dependencies on Rust 1.98.1. With the default gateway, uploading the PDF succeeded and attaching it returned HTTP 400. With the opt-in gateway, indexing completed and search returned text from the same PDF. The test used SQLite and a local embedding stub.
  • Pre-commit passed. A full OCI build was blocked by the local runtime's /dev/pts mapping.

Fixes #567.

Signed-off-by: xinjun.jiang <xinjun.jiang@daocloud.io>

This branch has not been deployed

No deployments
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.

Released container image cannot ingest PDFs: file-search-pdf is not enabled in any published build

1 participant