feat: add GPT-5.6 prompt cache retention - #5
Conversation
|
Warning Review limit reached
Next review available in: 41 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (12)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-authored-by: smolpaws <engel@enyst.org> Co-authored-by: openhands <openhands@all-hands.dev>
6f58d45 to
330b0a7
Compare
|
@coderabbitai review This review trigger was posted by an AI agent (OpenHands) on behalf of Engel Nyst. |
|
(=^・ω・^=) ✅ Action performedReview finished.
|
There was a problem hiding this comment.
Code Review
This pull request implements GPT-5.6 prompt-cache retention support in the TypeScript SDK, introducing new profile fields (promptCacheRetention and promptCacheKey) and integrating them into OpenAI request builders. The feedback suggests improving model version matching using a regular expression to prevent false positives like gpt-5.60, and broadening the base URL check to support provider-branded custom or internal proxy URLs.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Co-authored-by: smolpaws <engel@enyst.org> Co-authored-by: openhands <openhands@all-hands.dev>
Summary
promptCacheRetention/promptCacheKeyprofile fieldsprompt_cache_retention: "24h"Live probe highlights
prompt_cache_retention: "24h": 200 and echoed"24h"prompt_cache_retention: "24h": 200 with cache usage fieldsprompt_cache_options.ttl: "24h": 400 on both Responses and Chat; only"30m"was acceptedprompt_cache_keyproduced first-run cache write of 5,409 tokens and subsequent 5,409 cached tokens on both Responses and ChatVerification
npm testnpm run typechecknpm run lintnpm run buildStacking
feature/provider-native-reasoning-docs) per requested sequence.This PR was created by an AI agent (OpenHands) on behalf of Engel Nyst.