-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: track ai usage #2271
chore: track ai usage #2271
Conversation
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
Preview - Build & Deploy Images✅ Build images 🕒 Last deployed: Feb 11, 2025 at 07:55 PM UTC |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## billing-v2 #2271 +/- ##
===========================================
Coverage 89.41% 89.41%
===========================================
Files 375 375
Lines 79575 79575
===========================================
+ Hits 71150 71151 +1
+ Misses 8425 8424 -1 ☔ View full report in Codecov by Sentry. |
@@ -25,6 +17,10 @@ export const MODEL_OPTIONS: { | |||
canStreamWithToolCalls: true, | |||
enabled: true, | |||
provider: 'openai', | |||
rate_per_million_input_tokens: 2.5, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the price for each model?
Seems like we shouldn't store this in our code base as it will presumably change over time and be a chore to update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! Merging into billing branch.
Thanks @AyushAgrawal-A2 !
No description provided.