Skip to content

Upgrade Flue to 2.2.2 to fix Claude 404s through the AI Gateway - #49

Merged
matthewp merged 1 commit into
mainfrom
chore/flue-2.2.2
Sep 28, 2026
Merged

matthewp merged 1 commit into
mainfrom
chore/flue-2.2.2

Conversation

@matthewp

Copy link
Copy Markdown
Contributor

Changes

Testing

  • tests/ai-gateway.test.ts: resolution cases now expect dashed ids, and cover a dotted specifier (cloudflare-ai-gateway/claude-opus-4.6) resolving to claude-opus-4-6.
  • New test resolves every native Anthropic endpoint model through Flue and asserts none resolve to a dotted id.

Docs

  • README examples updated as above; no other docs changes needed.

Flue 2.2.2 registers cloudflare-ai-gateway models on the native Anthropic
endpoint under Anthropic's dashed ids (claude-sonnet-4-6). pi's dotted ids
(claude-sonnet-4.6) were forwarded to Anthropic verbatim and 404ed.

- @flue/*: ^2.2.1 -> ^2.2.2
- Opus 5.5 entry uses Anthropic's id (claude-opus-5-5), skipped if pi ships
  either form
- README examples go back to dashed ids
- Tests assert resolved ids are dashed, including dotted specifiers
@matthewp
matthewp merged commit 91a5a09 into main Sep 28, 2026
1 check 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.

1 participant