Skip to content

feat: support OpenAI cache breakpoints and configuration - #128

Merged
adubovik merged 2 commits into
developmentfrom
feat/prompt-cache-fields
Aug 14, 2026
Merged

feat: support OpenAI cache breakpoints and configuration#128
adubovik merged 2 commits into
developmentfrom
feat/prompt-cache-fields

Conversation

@adubovik

@adubovik adubovik commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Adds the OpenAI prompt caching fields to Chat Completions:

  • prompt_cache_key and prompt_cache_options (mode, ttl) request parameters
  • prompt_cache_breakpoint on the text, image_url, file and input_audio content parts

Reference: OpenAI Chat Completions API

The analogous change in the DIAL SDK: epam/ai-dial-sdk#432

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@adubovik
adubovik enabled auto-merge (squash) August 13, 2026 16:17
@adubovik
adubovik merged commit 2a77287 into development Aug 14, 2026
10 checks passed
@adubovik
adubovik deleted the feat/prompt-cache-fields branch August 14, 2026 09:40
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