Uh oh!
There was an error while loading. Please reload this page.
feat(fireworks): add kimi-k2p7-code model - #599
Conversation
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughThis PR adds support for the Kimi K2.7 Code model from Fireworks by extending the ChangesKimi K2.7 Code Model Addition
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@packages/types/src/providers/fireworks.ts`:
- Around line 269-279: Update the pricing constants for the model entry
"accounts/fireworks/models/kimi-k2p7-code": change inputPrice from 0.95 to 1.20,
change cacheReadsPrice from 0.19 to 0.60, and change outputPrice from 4.0 to
1.20 so the input/output/cache read rates match the official Fireworks rates
(values represent $ per 1M tokens).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: e978d832-fe9d-4e62-8698-1c0e2cba8d84
📒 Files selected for processing (2)
packages/types/src/providers/fireworks.tssrc/api/providers/__tests__/fireworks.spec.ts
Uh oh!
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
edelauna
left a comment
There was a problem hiding this comment.
Thanks for adding the model, has some questions about the model params.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
8cd0e0d to
f00d0e0Comparep12tic
commented
Jun 14, 2026
@edelauna Thanks for review, I've addressed your comments. |
f00d0e0 to
7df9550Comparep12tic
commented
Jun 20, 2026
@edelauna I think this PR is good to go. Previously some unrelated flaky tests were failing, I just rebased and pushed the same code again. |
edelauna
left a comment
There was a problem hiding this comment.
Thanks for your patience, yeah we're dealing with some flakey tests on account of upgrading to vitest 4
Uh oh!
There was an error while loading. Please reload this page.
Related GitHub Issue
Closes: #598
Description
Add kimi-k2p7-code model introduced on Fireworks.ai recently.
Test Procedure
Used the model.
Pre-Submission Checklist
Screenshots / Videos
N/A.
Documentation Updates
N/A
Additional Notes
N/A
Get in Touch
Please mention on github.
Summary by CodeRabbit
New Features
Tests
inputPrice,outputPrice,cacheReadsPrice).