Repository navigation
docs: replace retired claude-sonnet-4-5 in examples and docstring - #1070
Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit intoNov 5, 2026
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Abhijeet Prasad (AbhiPrasad)
approved these changes
Nov 5, 2026
Abhijeet Prasad (AbhiPrasad)
enabled auto-merge (squash)
November 5, 2026 02:45
Abhijeet Prasad (AbhiPrasad)
merged commit Nov 5, 2026
baf8d7a
into
braintrustdata:main
98 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The langchain prompt-cache example and two
claude_agent_sdkdocstring snippets default toclaude-sonnet-4-5-20250929, which Anthropic retires on 2026-11-30. After that date, copying the example fails with a model-not-found error.Changes: use
claude-sonnet-5, the Sonnet alias already used intest_anthropic.py, inexamples/langchain/anthropic_prompt_cache.pyand the two docstring snippets inclaude_agent_sdk/__init__.py. Recorded VCR cassettes, and the test that replays them (langchain/test_callbacks.py), keep the old ID because they are historical recordings.Test: no behaviour change; both files compile, and the old ID now appears only in cassette-backed tests.
This change was prepared with the assistance of an AI coding tool (Claude) and reviewed before submission.