Skip to content

Fix prompt cache retention literal#1847

Open
MukundaKatta wants to merge 1 commit intoopenai:masterfrom
MukundaKatta:codex/prompt-cache-retention-in-memory
Open

Fix prompt cache retention literal#1847
MukundaKatta wants to merge 1 commit intoopenai:masterfrom
MukundaKatta:codex/prompt-cache-retention-in-memory

Conversation

@MukundaKatta
Copy link
Copy Markdown

Updates the prompt_cache_retention type literal from in-memory to in_memory to match the official prompt caching guide, which documents the allowed values as in_memory and 24h.\n\nCloses #1756.\n\nVerification:\n- npm test -- tests/api-resources/chat/completions/completions.test.ts

@MukundaKatta MukundaKatta requested a review from a team as a code owner April 28, 2026 02:08
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