release: v2.9.9 - add claude-opus-4-8 to static model catalogue#24
Merged
Conversation
Brings the static fallback list in src/constants.py in line with Anthropic's current /v1/models response. claude-opus-4-8 (new Opus flagship, 1M context / 128K max output) is added to _ALL_MODEL_IDS, _MODEL_OVERRIDES, MODEL_PRICING (_PRICING_OPUS, $5/$25 per MTok), and MODEL_FALLBACK_MAP (-> claude-sonnet-4-6). claude-opus-4-7 remains supported alongside it. README Latest model table gets a claude-opus-4-8 row above 4-7. The claude-opus-4-20250514 deprecation row now points at 4-8 as the replacement target. claude-agent-sdk re-checked against PyPI: already pinned at the latest published 0.2.87 (uploaded 2026-05-23). No SDK bump.
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
claude-opus-4-8(new Opus flagship, 1M context / 128K max output) to the static model catalogue insrc/constants.pyso the no-API-key fallback list matches Anthropic's current/v1/modelsresponse. Drops into_ALL_MODEL_IDS,_MODEL_OVERRIDES,MODEL_PRICING(_PRICING_OPUS, $5/$25 per MTok), andMODEL_FALLBACK_MAP(overload falls back toclaude-sonnet-4-6).claude-opus-4-7remains supported alongside 4-8 (still in the live API).claude-opus-4-8row; theclaude-opus-4-20250514deprecation row now points at 4-8 as the replacement target.claude-agent-sdkre-checked against PyPI: already pinned at the latest published0.2.87(uploaded 2026-05-23). No SDK bump in this release.Current:header bumped 2.9.7 (stale) -> 2.9.9; missing 2.9.8 highlights bullet added alongside the new 2.9.9 bullet.Test plan
poetry run pytest -q-- 673 passed, 31 skipped locally (matches prior baseline).from src.constants import ...smoke asserts all 10 API-listed model IDs are present inCLAUDE_MODELS; metadata, pricing, and fallback maps populated for bothclaude-opus-4-8andclaude-opus-4-7.src.__version__ == "2.9.9";pyproject.tomlversion2.9.9.linux/amd64build, push:2.9.9and:latest, Portainer redeploy webhook, Grafana Loki check confirms v2.9.9 booted on services03 with auth probe success.