Update pricing to support all composer models#361
Open
RawToast wants to merge 2 commits intojunhoyeo:mainfrom
Open
Update pricing to support all composer models#361RawToast wants to merge 2 commits intojunhoyeo:mainfrom
RawToast wants to merge 2 commits intojunhoyeo:mainfrom
Conversation
Contributor
|
@RawToast is attempting to deploy a commit to the Inevitable Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
There was a problem hiding this comment.
No issues found across 2 files
Since this is your first cubic review, here's how it works:
- cubic automatically reviews your code and comments on bugs and improvements
- Teach cubic by replying to its comments. cubic learns from your replies and gets better over time
- Add one-off context when rerunning by tagging
@cubic-dev-aiwith guidance or docs links (includingllms.txt) - Ask questions if you need clarification on any suggestion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There was no support for
composer 1,composer 2, andcomposer 2 fastFollowed the same patterns as the 1.5 implementation #299
Summary by cubic
Add pricing support for Composer 1, Composer 2, and Composer 2 Fast to enable accurate cost calculation and Cursor CSV re-pricing. Handles spaced and hyphenated model IDs and treats cache writes as free for Composer 2 variants.
composer 1/composer-1,composer 2/composer-2, andcomposer 2 fast/composer-2-fastbased on Cursor docs.Written for commit 75321ee. Summary will update on new commits.