Skip to content
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

feat: bind usage info in stream mode #18

Merged
merged 2 commits into from
Jun 6, 2024
Merged

feat: bind usage info in stream mode #18

merged 2 commits into from
Jun 6, 2024

Conversation

northes
Copy link
Owner

@northes northes commented Jun 6, 2024

Describe the change

add ChatCompletionsResponseChoices field usage

Provide Moonshot documentation link

No.

Describe your solution

No.

Tests

Passed the simple test.

Additional context

close: #17

@northes northes self-assigned this Jun 6, 2024
Copy link

codecov bot commented Jun 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.08%. Comparing base (85f703d) to head (a4e53cb).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #18   +/-   ##
=======================================
  Coverage   71.08%   71.08%           
=======================================
  Files          11       11           
  Lines         377      377           
=======================================
  Hits          268      268           
  Misses         60       60           
  Partials       49       49           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@northes northes merged commit 5d9275b into main Jun 6, 2024
8 checks passed
@northes northes deleted the stream_mode_usage branch June 6, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stream ChatCompletionsResponseChoices add Usage
1 participant