Skip to content

fix(claude): support Fable 5.1 models - #35

Merged
rexdotsh merged 1 commit into
mainfrom
fix/claude-fable-5-1
Sep 1, 2026
Merged

rexdotsh merged 1 commit into
mainfrom
fix/claude-fable-5-1

Conversation

@rexdotsh

@rexdotsh rexdotsh commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Update the Claude OAuth user-agent to Claude Code 2.1.251, the minimum required by Claude Fable 5.1.
  • Apply the current user-agent for every Claude request, including accounts with older persisted metadata.
  • Add regression coverage for legacy account metadata.

Reproduction

With OPENCODE_MODELS_URL pointed at a local Kleis instance, opencode --pure models --refresh discovered kleis/anthropic/claude-fable-5-1, but the request failed with the Claude Code 2.1.2 compatibility error.

Verification

  • bun lint
  • bun typecheck
  • bun test tests/providers/proxy-contract.test.ts
  • Live OpenCode request through local Kleis: FABLE_FIXED_OK

@rexdotsh
rexdotsh merged commit 80c32be into main Sep 1, 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.

1 participant