Skip to content

release: v2.9.9 - add claude-opus-4-8 to static model catalogue#24

Merged
ttlequals0 merged 1 commit into
mainfrom
release/v2.9.9
May 28, 2026
Merged

release: v2.9.9 - add claude-opus-4-8 to static model catalogue#24
ttlequals0 merged 1 commit into
mainfrom
release/v2.9.9

Conversation

@ttlequals0
Copy link
Copy Markdown
Owner

Summary

  • Adds claude-opus-4-8 (new Opus flagship, 1M context / 128K max output) to the static model catalogue in src/constants.py so the no-API-key fallback list matches Anthropic's current /v1/models response. Drops into _ALL_MODEL_IDS, _MODEL_OVERRIDES, MODEL_PRICING (_PRICING_OPUS, $5/$25 per MTok), and MODEL_FALLBACK_MAP (overload falls back to claude-sonnet-4-6).
  • claude-opus-4-7 remains supported alongside 4-8 (still in the live API).
  • README Latest table gets a claude-opus-4-8 row; 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 in this release.
  • README 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 in CLAUDE_MODELS; metadata, pricing, and fallback maps populated for both claude-opus-4-8 and claude-opus-4-7.
  • src.__version__ == "2.9.9"; pyproject.toml version 2.9.9.
  • CI matrix + CodeQL green on this PR.
  • After merge: Docker linux/amd64 build, push :2.9.9 and :latest, Portainer redeploy webhook, Grafana Loki check confirms v2.9.9 booted on services03 with auth probe success.

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.
@ttlequals0 ttlequals0 merged commit d407337 into main May 28, 2026
6 checks passed
@ttlequals0 ttlequals0 deleted the release/v2.9.9 branch May 28, 2026 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant