Repository navigation
Replace "claude-3-opus-20240229": Anthropic shut it down on 2026-01-05 - #66
Open
brandonphelps1212 wants to merge 1 commit into
Open
brandonphelps1212 wants to merge 1 commit into
brandonphelps1212 wants to merge 1 commit into
Conversation
…-01-05: Anthropic requests naming it fail from that date (2026-01-05)
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.
claude-3-opus-20240229stopped working on January 5, 2026. Anthropic's deprecations page says so (as read), and every request that names it fails from then on. This repo still sends it fromsrc/scicode/gen/models.py:61.Replaced the retired default model
claude-3-opus-20240229withclaude-opus-4-8ingenerate_anthropic_response. Also removed thetemperatureargument from themessages.createcall, because the SDK no longer accepts it andclaude-opus-4-8rejects non-default values. Thetemperatureparameter stays in the function signature, so callers that pass it won't break, but it is now ignored. Output may change because sampling now uses the API default.claude-opus-4-8is the replacement Anthropic names; its answers can differ fromclaude-3-opus-20240229's and it's priced differently. Not run against the API.Found and drafted with an automated tool, and reviewed by a person before it was opened.