Repository navigation
feat(anthropic): add Claude Opus 5.5 - #3919
Merged
Merged
Conversation
WH-2099
force-pushed
the
feat/anthropic-opus-5-5
branch
from
September 22, 2026 19:53
498c84d to
5c01e55
Compare
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Empty truncated tool arguments can still be replayed, and opaque replay bypasses configured assistant prompt caching.
Get a fresh assessment by requesting another Copilot review.
Review effort: Balanced
Findings: 2
Open (2)
What changed in this PR
Adds Claude Opus 5.5 support and replaces shared thinking state with per-message content replay.
Changes:
- Registers Opus 5.5 with updated capabilities, pricing, and adaptive-thinking defaults.
- Preserves ordered Anthropic content blocks across tool rounds.
- Refreshes dependencies, tests, documentation, and plugin metadata.
| File | Description |
|---|---|
models/anthropic/models/llm/llm.py |
Implements model handling and content replay. |
models/anthropic/models/llm/claude-opus-5-5.yaml |
Defines Opus 5.5 capabilities and pricing. |
models/anthropic/models/llm/_position.yaml |
Adds the model to display ordering. |
models/anthropic/tests/test_thinking_replay.py |
Tests ordered multi-turn replay and truncation. |
models/anthropic/tests/test_opus5_parameters.py |
Tests Opus 5.5 schema and request parameters. |
models/anthropic/tests/test_llm.py |
Tests classification and cache pricing. |
models/anthropic/README.md |
Documents Opus 5.5 behavior. |
models/anthropic/pyproject.toml |
Updates direct dependencies. |
models/anthropic/uv.lock |
Refreshes resolved dependencies. |
models/anthropic/manifest.yaml |
Bumps the plugin version. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
WH-2099
force-pushed
the
feat/anthropic-opus-5-5
branch
from
September 22, 2026 20:18
5c01e55 to
1c274cb
Compare
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Image retention is applied to every vision provider, regressing providers that only support images on the initial tool-loop request.
Get a fresh assessment by requesting another Copilot review.
Review effort: Balanced
Findings: 2
Open (2)
Resolved since last review (1)
WH-2099
marked this pull request as draft
September 22, 2026 20:49
This was referenced Sep 23, 2026
1 of 3 tasks
WH-2099
force-pushed
the
feat/anthropic-opus-5-5
branch
from
October 9, 2026 11:38
1b6faf7 to
7d6b8bf
Compare
7 of 13 tasks
WH-2099
marked this pull request as ready for review
October 9, 2026 11:40
hjlarry
approved these changes
Oct 9, 2026
41tair
approved these changes
Oct 9, 2026
Closed
6 of 15 tasks
7 of 16 tasks
6 of 15 tasks
This branch was successfully deployed
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.

Summary
Closes #3916.
Adds
claude-opus-5-5with a 1M-token context, 128K-token output limit, always-on adaptive thinking, and amediumeffort default, following the official specifications.The model uses the existing adaptive-thinking, structured-output, task-budget, and automatic tool-choice paths.
Standard input/output pricing is $4/$20 per million tokens, with cache reads charged at 5% of the input rate.
Signed-state replay and Agent tool-loop fixes are tracked in #4032 and draft PR #4034.
This model registration uses published dependencies and can be reviewed independently of that work.
Release Notes
Change Type
LLM Plugin Checklist
Version
manifest.yamlversion to0.3.34.dify_plugin>=0.10.2,<0.11.0and locked the published0.10.2release.1.4.0.Testing
uv run --frozen --python 3.12 pytest --ignore=tests/test_llm_live.py -q— 128 passed.uv lock --checkandgit diff --checkpassed.