Repository navigation
fix(models): pin DeepInfra V4 Flash to 0731 - #3384
Conversation
DeepInfra does not roll the undated `deepseek-ai/DeepSeek-V4-Flash` alias forward to the 0731 snapshot the way the other providers on this mapping do, so point its externalId at the dated deployment explicitly. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe DeepInfra provider configuration now references ChangesDeepSeek model configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
There was a problem hiding this comment.
🟢 Ready to approve
The change is a minimal, targeted external deployment-id correction consistent with existing provider mapping patterns and has no apparent downstream contract or pricing impacts.
This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.
Pull request overview
This PR corrects the DeepInfra deployment identifier for the deepseek-v4-flash root model in packages/models, ensuring requests routed to DeepInfra hit the current 0731 snapshot rather than the older launch alias.
Changes:
- Updated the DeepInfra provider mapping
externalIdfordeepseek-v4-flashto use the dated DeepInfra deployment (...-0731).
File summaries
| File | Description |
|---|---|
| packages/models/src/models/deepseek.ts | Updates DeepInfra’s externalId for deepseek-v4-flash to target the 0731 snapshot deployment. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.
Problem
The
deepseek-v4-flashroot model is served by seven providers. All of them except DeepInfra roll their undated model alias forward to the current0731snapshot automatically. DeepInfra keeps the undateddeepseek-ai/DeepSeek-V4-Flashid pinned to the launch deployment and exposes the new variant only under a dated id, so requests routed to DeepInfra were silently landing on the older snapshot.Change
Point the DeepInfra provider mapping's
externalIdatdeepseek-ai/DeepSeek-V4-Flash-0731. No other mapping needs touching — the remaining providers already resolve to the new variant through their existing ids, and Alibaba/ByteDance/Fireworks were already pinned to their own dated ids.Pricing, context size, quantization and capability flags are unchanged; this is purely a deployment-id correction.
Verification
pnpm format, fullpnpm build,packages/modelsunit specs — all pass.TEST_MODELS="deepinfra/deepseek-v4-flash" FULL_MODE=true pnpm test:e2e→ 29 files passed, 102 tests passed.🤖 Generated with Claude Code
Summary by CodeRabbit