summaryrefslogtreecommitdiff
path: root/plugins/security-guidance/tests/test_base_url.py
AgeCommit message (Collapse)Author
2026-11-11security-guidance: take the review model from one place, default to the ↵Claude
newest listed The commit reviewer asked its CLI for the opus alias, so an out-of-date CLI reviewed on an older model. It now uses the same lookup as the diff review, at medium effort, and keeps the alias when the endpoint can't list models. The retry model comes from the same lookup. Model names remain only for a direct API call when the endpoint can't list. Co-authored-by: mhegazy <mhegazy@anthropic.com>
2026-10-28security-guidance: treat a blank ANTHROPIC_BASE_URL as unsetfix/sg-blank-base-urlMohamed Hegazy
A set but empty value left the request URL as /v1/messages, so urllib raised and every Stop, push and single-shot commit review failed. The SDK and Claude Code read a blank value as the default endpoint; the plugin now does too.