Skip to content

Anthropic models: report a refused key; Claude 5 family in the built-in list - #31

Merged
ayman3000 merged 1 commit into
mainfrom
refused-key-not-hidden
Nov 2, 2026
Merged

ayman3000 merged 1 commit into
mainfrom
refused-key-not-hidden

Conversation

@ayman3000

Copy link
Copy Markdown
Owner

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

… 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>
@ayman3000
ayman3000 merged commit 39f322b into main Nov 2, 2026
@ayman3000
ayman3000 deleted the refused-key-not-hidden branch November 2, 2026 08:31
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