Skip to content

fix: remove non-existent Claude Sonnet 4.7 & 4.8 models#133

Merged
lizhengfeng101 merged 1 commit into
alibaba:mainfrom
hetaoBackend:fix/sonnet
Jun 15, 2026
Merged

fix: remove non-existent Claude Sonnet 4.7 & 4.8 models#133
lizhengfeng101 merged 1 commit into
alibaba:mainfrom
hetaoBackend:fix/sonnet

Conversation

@hetaoBackend

Copy link
Copy Markdown
Contributor

Summary

Remove the non-existent claude-sonnet-4-7 and claude-sonnet-4-8 model IDs from the Anthropic provider registry.

The Sonnet model line does not have 4.7 or 4.8 versions — its latest release is Sonnet 4.6 (claude-sonnet-4-6). Only the Opus line has 4.7/4.8 (claude-opus-4-7, claude-opus-4-8), and those remain in the list. The two removed entries pointed to models that do not exist and would fail at request time.

Changes

internal/llm/providers.go — drop claude-sonnet-4-8 and claude-sonnet-4-7 from the Anthropic provider's Models list.

🤖 Generated with Claude Code

@CLAassistant

CLAassistant commented Jun 15, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@github-actions

Copy link
Copy Markdown

OpenCodeReview: No comments generated. Looks good to me.

@hetaoBackend

Copy link
Copy Markdown
Contributor Author

Hi @lizhengfeng101, could you please take a look at this PR when you have a chance? 🙏

It's a small one-line-effective fix removing two non-existent model IDs (claude-sonnet-4-7, claude-sonnet-4-8) from the Anthropic provider registry — the Sonnet line has no 4.7/4.8 versions (latest is Sonnet 4.6); only the Opus line does, and those are kept. Thanks!

@lizhengfeng101

Copy link
Copy Markdown
Collaborator

Thanks for catching this @hetaoBackend! You're absolutely right — Sonnet doesn't have 4.7/4.8 versions.

We'll get this merged and included in the next release shortly.

@lizhengfeng101 lizhengfeng101 merged commit 3236a61 into alibaba:main Jun 15, 2026
2 checks passed
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.

4 participants