Repository navigation
Anthropic models: report a refused key; Claude 5 family in the built-in list - #31
Merged
Merged
Conversation
… list has the Claude 5 family An expired key made /v1/models answer 401; the provider returned the curated list silently, so apps showed old models with no explanation (and could take the stale list for the live one). 401/403 now throw; other failures still fall back. Curated list adds Fable 5.1, Opus 5.5, Sonnet 5, Haiku 5.5 (context windows left nil — not verified). The refused-key message says it may have expired. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
An expired key made /v1/models return 401 and the provider silently returned the curated (stale) list. Now 401/403 throw (apps show the reason); unreachable/overloaded still falls back. Curated list adds Fable 5.1, Opus 5.5, Sonnet 5, Haiku 5.5. The old ProviderTests case that hit the real API with a fake key now checks the curated list offline. 194 tests pass.
🤖 Generated with Claude Code