feat(catalog): add claude-fable-5-1 to model metadata - #3293
Conversation
lidge-jun#3203 added the registry and pricing rows but not the model metadata; this fills that gap. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ Deterministic PR hygiene checks passed. |
⏳ DRAFT
What to do
Review readiness checklist
0/4 boxes ticked. This PR stays in draft until every box above is ticked. |
리뷰 · 우선순위 46 / 80이 PR은 #3203이 Anthropic 레지스트리· PR이 하는 일은 짧고 분명합니다. 소스 JSON에 Fable 5.1 객체를 넣고
다만 이 브랜치는 작은 정확도 이슈도 있습니다. 본문은 thinking 블록을 라인 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
Summary
claude-fable-5-1to the Anthropic registry, expected-prices, and tests, but notscripts/model-metadata.source.jsonorsrc/generated/model-metadata.ts. This PR closes that remaining catalog gap so Fable 5.1 resolves through generated metadata likeclaude-fable-5.claude-fable-5-1to the canonical Anthropic model-metadata source and regeneratesrc/generated/model-metadata.ts.claude-fable-5-1expected-price rows (verifiedAt: 2026-09-02) and their official rates: $10 / 1M input, $50 / 1M output, $0.25 / 1M cache read, and $12.50 / 1M 5-minute cache write. The generated row keepscacheRead: 0.25, matchingCLAUDE_FABLE_51insrc/usage/expected-prices.ts:74.thinkingis a snapshot-only field mirrored from claude-fable-5; the generator does not consume it.Verification
bun run generate:model-metadata— passed; regeneratedsrc/generated/model-metadata.tsfrom the source snapshot.bun test tests/model-metadata-sync.test.ts tests/usage-cost.test.ts— passed:83 pass,0 fail,445 expect() calls,Ran 83 tests across 2 files. [202.00ms].bun run typecheck— passed with exit code 0 (bun x tsc --noEmit).bun test tests/provider-registry-parity.test.ts tests/codex-catalog.test.ts tests/anthropic-hardening.test.ts— passed:312 pass,0 fail,1814 expect() calls,Ran 312 tests across 3 files. [6.78s].claude-fable-5-1row in theanthropicgenerated data block; the source diff is the matching canonical Anthropic object. Precedence is implemented insrc/usage/cost.ts:253-284; a nonzero bundled row outranks the overlay, so the retained overlay rows are compatibility fallbacks. The canonical Anthropic result now reportssource: "jawcode"andjawcodeProvider: "anthropic".Checklist
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
All CI tests are green on my local testing.
I pushed my PR to the latest dev commit.
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.