Repository navigation
docs: refresh model references for Claude Sonnet 5 and Fable 5 - #612
Conversation
…claude-fable-5 Claude Sonnet 5 is GA (Copilot GA 2026-06-30) and Copilot now serves Fable 5 natively, so the sonnet/inherit aliases move off Sonnet 4.6 and the Copilot fable alias no longer falls back to Opus 4.8. Catalog verification date bumped to 2026-07.
Replace claude-sonnet-4-6 with claude-sonnet-5 and Opus 4.7 mentions with 4.8 in llm-application-dev; replace retired claude-3-5-sonnet in performance-testing-review's ai-review. Drop temperature args from migrated examples — Sonnet 5 rejects non-default sampling params.
|
Claude finished @wshobson's task in 2m 55s —— View job Review — PR #612
✅ LGTM — no blocking issuesReviewed against the source-of-truth invariant, cross-harness portability, catalog drift, and quality-gate checklist in the repo's review policy. Verified independently:
Pre-existing (out of scope): the |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (20)
📜 Recent review details⏰ Context from checks skipped due to timeout. (1)
|
| Layer / File(s) | Summary |
|---|---|
Model alias mapping updates tools/adapters/capabilities.py |
MODEL_ALIASES for Copilot and Opencode harnesses are updated to resolve fable/opus/sonnet/haiku/inherit aliases to newer Claude model IDs; catalog verification date comment advanced to 2026-07. |
Adapter and validator test fixtures tools/tests/test_adapters.py, tools/tests/test_validate_generated.py |
Test expectations for alias resolution and OpenCode validator frontmatter fixtures are updated to expect claude-sonnet-5. |
Plugin-eval judge model defaults plugins/plugin-eval/src/plugin_eval/layers/judge.py, plugins/plugin-eval/tests/test_judge.py, plugins/plugin-eval/tests/test_monte_carlo.py |
_MODEL_MAP and the default query_llm model parameter change to claude-sonnet-5, with test helper AssistantMessage model values updated to match. |
Architecture and agents distribution docs docs/agents.md, docs/architecture.md, docs/authoring.md |
Model distribution table counts increase, the model tiering strategy expands from four to five tiers with a new Fable tier, and model-alias mapping tables/verification dates are corrected. |
Plugin, agent, and skill documentation model references plugins/llm-application-dev/README.md, plugins/llm-application-dev/agents/*.md, plugins/llm-application-dev/commands/langchain-agent.md, plugins/llm-application-dev/skills/.../SKILL.md, plugins/llm-application-dev/skills/.../references/details.md, plugins/performance-testing-review/commands/ai-review.md |
Prose and code snippets referencing Claude model versions in READMEs, agent capability lists, command docs, and skill examples are updated to Sonnet 5/Opus 4.8. |
Estimated code review effort: 1 (Trivial) | ~5 minutes
Possibly related PRs
- wshobson/agents#550: Also modifies
tools/adapters/capabilities.py'sMODEL_ALIASESmappings for the Copilot harness's Claude model/alias identifiers.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title clearly summarizes the main model-reference refresh, including Sonnet 5 and Fable 5 updates. |
| Description check | ✅ Passed | The description is directly related to the changeset and accurately describes the adapter, docs, and example updates. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✨ Finishing Touches
📝 Generate docstrings
- Create stacked PR
- Commit on current branch
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Commit unit tests in branch
docs/model-refresh-sonnet-5
✨ Simplify code
- Create PR with simplified code
- Commit simplified code in branch
docs/model-refresh-sonnet-5
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 @coderabbitai help to get the list of available commands.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5fdb3e046f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| response = self.anthropic_client.messages.create( | ||
| model="claude-3-5-sonnet-20241022", | ||
| max_tokens=8000, temperature=0.2, | ||
| model="claude-sonnet-5", |
There was a problem hiding this comment.
Handle Sonnet 5 thinking blocks before parsing JSON
When this review helper runs against Sonnet 5, adaptive thinking is enabled by default and the Messages API can return a leading thinking content block before the text block (Anthropic documents this at https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). Since the code below still reads response.content[0].text, any such response raises before the JSON review results are parsed; disable thinking for this JSON-only call or scan response.content for the first text block when switching to claude-sonnet-5.
Useful? React with 👍 / 👎.
Model-reference refresh following the public releases of Claude Fable 5 / Mythos 5 (June 9, 2026) and Claude Sonnet 5 (GA in GitHub Copilot June 30, 2026).
Changes
tools/adapters/capabilities.py):sonnet/inheritaliases now target Claude Sonnet 5 (claude-sonnet-5in Copilot,anthropic/claude-sonnet-5in OpenCode). Copilot'sfablealias maps toclaude-fable-5instead of falling back to Opus 4.8 — GitHub's supported-models docs now list both Fable 5 and Sonnet 5. Catalog verification date bumped to 2026-07.claude-sonnet-5(opus/haiku mappings already current).docs/authoring.mdupdated; tier tables indocs/agents.mdanddocs/architecture.mdcorrected to actual frontmatter counts (Opus 54 / Sonnet 66 / Haiku 22 / Inherit 52, verified againstplugins/*/agents/*.md); architecture.md's "Four-Tier" section now reflects the five-tier strategy including Fable.llm-application-devexamples move fromclaude-sonnet-4-6→claude-sonnet-5and Opus 4.7 → 4.8;performance-testing-review's ai-review command replaces the retiredclaude-3-5-sonnet-20241022(404s since Oct 2025).temperaturearguments were dropped from migrated examples since Sonnet 5 rejects non-default sampling parameters.Fable 5 tier documentation (docs/agents.md, docs/authoring.md, README) was already current and is unchanged.
Verification
make validate STRICT=1— OK across 5 harnessesmake garden— 0 errors (10 pre-existing warnings)make generate-all— regenerated cleanlymake test— 443 passed, 3 skipped (includes updated adapter/judge expectations)ruff check/ruff format --check— clean on CI scope and changed test filessonnet-4-6references remain in source (generated dirs and historical plan docs excluded)