Skip to content

Replace "claude-3-opus-20240229": Anthropic shut it down on 2026-01-05 - #66

Open
brandonphelps1212 wants to merge 1 commit into
scicode-bench:mainfrom
brandonphelps1212:apipolice/fix-a19c9e1191f5
Open

brandonphelps1212 wants to merge 1 commit into
scicode-bench:mainfrom
brandonphelps1212:apipolice/fix-a19c9e1191f5

Conversation

@brandonphelps1212

@brandonphelps1212 brandonphelps1212 commented Oct 17, 2026 •

Copy link
Copy Markdown

claude-3-opus-20240229 stopped 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 from src/scicode/gen/models.py:61.

Replaced the retired default model claude-3-opus-20240229 with claude-opus-4-8 in generate_anthropic_response. Also removed the temperature argument from the messages.create call, because the SDK no longer accepts it and claude-opus-4-8 rejects non-default values. The temperature parameter 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-8 is the replacement Anthropic names; its answers can differ from claude-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.

…-01-05: Anthropic requests naming it fail from that date (2026-01-05)
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