Skip to content

fix: preserve cache breakpoints when inlining text files - #467

Merged
maralbahari merged 4 commits into
vllm-project:mainfrom
skyloevil:codex/qualify-cache-breakpoints
Oct 26, 2026
Merged

maralbahari merged 4 commits into
vllm-project:mainfrom
skyloevil:codex/qualify-cache-breakpoints

Conversation

@skyloevil

@skyloevil skyloevil commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Preserve prompt_cache_breakpoint when inline text files become model-facing input_text. Keep the original input_file in canonical and stored history, and avoid copying file-only extensions onto text.

Also cover breakpoint preservation across execution paths and correct the support matrix. This now includes a small production fix in a separate commit. Part of #330; backend capability checks remain separate.

Test Plan

  • Regression reproduced the missing breakpoint before the fix; passes for JSON, SSE, WebSocket, and durable continuation afterward.
  • cargo test --locked --workspace --features agentic-server/openapi --no-fail-fast --quiet
  • cargo clippy --locked --workspace --all-targets --features agentic-server/openapi -- -D warnings
  • pre-commit run --all-files

Existing text-file cassette replays are included; no live cache-hit or TTL claim.

@skyloevil skyloevil changed the title test: qualify Responses cache breakpoint preservation fix: preserve cache breakpoints when inlining text files Oct 24, 2026

@maralbahari maralbahari left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@maralbahari
maralbahari merged commit a35348b into vllm-project:main Oct 26, 2026
17 checks passed
haoshan98 added a commit to EmbeddedLLM/agentic-api that referenced this pull request Oct 27, 2026
Brings in vllm-project#480 (ARCHITECTURE.md request admission and rate limiting),
vllm-project#481 (PostgreSQL conversation upsert), vllm-project#467 (prompt cache breakpoints on
inlined text files), vllm-project#478 (benchmark session sweep) and vllm-project#487 (test
alignment with typed Responses validation). Merged without conflicts.

Signed-off-by: haoshan98 <[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.

2 participants