models: add Claude Fable 5 and Opus 5, retire dead Sonnet 4 snapshot - #2
Merged
Conversation
Adds claude-fable-5 and claude-opus-5 as selectable models in the web UI dropdown and CLI, with pricing entries for --show-cost. Also swaps the retired claude-sonnet-4-20250514 default (returns 404 as of its June 2026 retirement) for claude-sonnet-5 across run_pipeline.py, generate_report.py, index.html, README, and CLAUDE.md. Newer Claude models (Opus 4.6+, Sonnet 4.6+, Fable/Mythos 5) reject the `temperature` request param outright (400 error) in favor of adaptive thinking + effort. Added supports_temperature() in llm_client/client.py and wired it into every Anthropic call site (AuditClient, PipelineClient, and the report-generator's LLM dedup call) so temperature is only sent to models that still accept it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
| ---------- | ||
| model : str | ||
| Claude model ID to use (default: claude-sonnet-4-6). | ||
| Claude model ID to use (default: claude-sonnet-4-6). Also accepts |
There was a problem hiding this comment.
Should the default say claude-sonnet-5?
Brings client.py's defaults in line with the claude-sonnet-4-20250514 -> claude-sonnet-5 swap already made in run_pipeline.py, generate_report.py, index.html, README, and CLAUDE.md. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
theNEXlevel
approved these changes
Aug 11, 2026
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.
Adds claude-fable-5 and claude-opus-5 as selectable models in the web UI dropdown and CLI, with pricing entries for --show-cost. Also swaps the retired claude-sonnet-4-20250514 default (returns 404 as of its June 2026 retirement) for claude-sonnet-5 across run_pipeline.py, generate_report.py, index.html, README, and CLAUDE.md.
Newer Claude models (Opus 4.6+, Sonnet 4.6+, Fable/Mythos 5) reject the
temperaturerequest param outright (400 error) in favor of adaptive thinking + effort. Added supports_temperature() in llm_client/client.py and wired it into every Anthropic call site (AuditClient, PipelineClient, and the report-generator's LLM dedup call) so temperature is only sent to models that still accept it.