-
Notifications
You must be signed in to change notification settings - Fork 619
chore: Add promptTokens and completionTokens fields #5542
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: a5768b1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5542 +/- ##
=======================================
Coverage 46.19% 46.19%
=======================================
Files 1081 1081
Lines 58613 58613
Branches 3933 3933
=======================================
Hits 27075 27075
Misses 30855 30855
Partials 683 683
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
PR-Codex overview
This PR introduces new fields to track token usage in the
usageEventSchemaof the@thirdweb-dev/service-utilspackage.Detailed summary
promptTokensfield as an optional integer, non-negative number.completionTokensfield as an optional integer, non-negative number.