summaryrefslogtreecommitdiff
path: root/plugins/security-guidance/tests/test_review_model.py
AgeCommit message (Collapse)Author
2026-10-02security-guidance: follow the newest Opus instead of a pinned release (2.0.8 ↵mhegazy/sg-track-latest-opusMohamed Hegazy
→ 2.0.9) The review model was hardcoded to claude-opus-4-7, so the plugin fell behind each time a new Opus shipped. - The diff review asks the configured endpoint (GET /v1/models) for the newest Opus it serves, cached for a day; claude-opus-5-5 if it can't say. - The agentic commit review, and every review on Bedrock, Vertex and Foundry, use Claude Code's `opus` alias. - SECURITY_REVIEW_MODEL and SG_AGENTIC_MODEL still pin a model. - Adds pricing rows for the newer Opus models, and tests. Co-Authored-By: Claude Code <noreply@anthropic.com>