-
Notifications
You must be signed in to change notification settings - Fork 544
chore: Add modelName, sessionId, requestId usage #5670
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
🦋 Changeset detectedLatest commit: 7b4f75e 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 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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 #5670 +/- ##
=======================================
Coverage 50.71% 50.71%
=======================================
Files 1092 1092
Lines 57209 57209
Branches 4629 4629
=======================================
Hits 29015 29015
Misses 27478 27478
Partials 716 716
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
Merge activity
|
https://linear.app/thirdweb/issue/DASH-574/add-nebula-usage-tracker-events <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces additional properties to the `usageEventSchema` in the `service-utils` package, enhancing the tracking of usage events by including identifiers for the model, session, and request. ### Detailed summary - Added `modelName`, `sessionId`, and `requestId` as optional string fields to the `usageEventSchema` in `packages/service-utils/src/core/usage.ts`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
6bb8337
to
e702490
Compare
https://linear.app/thirdweb/issue/DASH-574/add-nebula-usage-tracker-events
PR-Codex overview
This PR focuses on enhancing the
usageEventSchema
in the@thirdweb-dev/service-utils
package by adding new optional fields for better tracking of usage events.Detailed summary
modelName
,sessionId
, andrequestId
as optional fields to theusageEventSchema
inpackages/service-utils/src/core/usage.ts
.