Repository navigation
fix(vulnerability-remediation): default to claude-sonnet-5-5 before sonnet 4.5 retires - #1004
Open
pcbeingused33 wants to merge 1 commit into
Open
pcbeingused33 wants to merge 1 commit into
pcbeingused33 wants to merge 1 commit into
Conversation
…onnet 4.5 retires Anthropic retires claude-sonnet-4-5-20250929 on 2026-11-30, so the plugin and the installed scan workflow would fail with their default model. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been 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.
HUMAN:
He revisado el cambio de modelo por defecto de Sonnet 4.5 a Sonnet 5.5. Es necesario porque Sonnet 4.5 se retira hoy y el plugin de remediación de vulnerabilidades dejaría de funcionar con la configuración estándar. El código no envía temperature ni top_p, así que es compatible. Aprobado.
AGENT:
Why
Fixes #995
claude-sonnet-4-5-20250929is the default model of the vulnerability remediation plugin and of the installed scan workflow. Anthropic retires it on 2026-11-30 and recommendsclaude-sonnet-5-5(model deprecations), so runs that keep the default would fail from that date, unless a customllm-base-urlremaps the ID.Summary
anthropic/claude-sonnet-5-5inaction.yml(default and description example), both copies ofvulnerability-scan.yml(still byte-identical), theLLM_MODELfallback and docstring inscan_and_remediate.py, and the README inputs table.openhands-sdk1.64.1 the script'sLLM(...)config sends notemperature/top_p, and switches fromthinking: {type: enabled, budget_tokens}to adaptive thinking for the new model on its own.pr-review,qa-changes,release-notes) are not touched here.Issue Number
#995
How to Test
Ran the real
scan_and_remediate.py --remediatewithLLM_MODELunset,openhands-sdk/openhands-tools1.64.1, a one-entryscan-results.json, andLLM_BASE_URLpointing at a local fake Anthropic Messages endpoint (no live API call). Request body, excluding messages, tools and system:The script exits 0 in both cases.
pytest tests/test_sdk_loading.py tests/test_plugin_manifest*.pypasses (46 tests), andclaude plugin validate plugins/vulnerability-remediationpasses with warnings. Aworkflow_dispatchrun was not made, and the model has not been exercised against the live API.Notes
The scheduled runs currently fail with a 401 (
invalid x-api-key), a separate problem noted in the issue triage that this change does not address.This change was prepared with AI assistance.
Jev-Fast-Audit
⚡ Jev fast audit · estimates · 0.23s · commit 28b6d48
Strongest signal: No primary concern selected.
Evidence: No primary concern to locate.
Coverage: complete supplied coverage; 8/8 hunks, 5/5 files.
All estimates and evidence