fix(gateway): preserve Fable 1M picker selection - #3722
Conversation
|
✅ Deterministic PR hygiene checks passed. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe change separates readable Claude Code 1M model rows and decodes valid Fable picker aliases before Claude Messages routing, passthrough handling, and token estimation. Integration tests cover model listing and both Messages endpoints. ChangesClaude Fable alias handling
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant Client
participant ClaudeMessages
participant AliasDecoder
participant UpstreamClaude
Client->>ClaudeMessages: Send picker alias
ClaudeMessages->>AliasDecoder: Decode Fable alias
AliasDecoder-->>ClaudeMessages: Return claude-fable-5-1
ClaudeMessages->>UpstreamClaude: Forward normalized model
UpstreamClaude-->>ClaudeMessages: Return response or token count
ClaudeMessages-->>Client: Return result
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks 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 |
리뷰 · 우선순위 70 / 80이 PR은 Claude Code 피커에서 Fable 기본 줄과 1M 줄을 서로 다른 선택으로 남기는 고침입니다. 지금 고치는 곳은 두 갈래입니다. 첫째, 테스트도 같이 옵니다. 우선순위 70인 이유다. Fable 1M 피커는 사용자에게 바로 보이는 선택 버그이고, HEAD에 이미 있는 Claude Fable 시드( 경로/심볼 - 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
Summary
Preserves separate Fable base and 1M picker selections and restores the reversible selector to canonical Fable before Messages and count_tokens native passthrough.
Carries #3649 by rebasing the original behavior commit 9a7795a and marked-request regression 284fe8c onto dev 330bf60. Both commits retain Éverton Toffanetto as author. The four-file feature delta is unchanged; no additional feature work is included. Supersedes #3649, to be closed after this replacement is verified on dev.
Verification
Checklist
Co-authored-by: Éverton Toffanetto evertondgn@hotmail.com
Summary by CodeRabbit
New Features
Bug Fixes
Tests