Skip to content

Replace None with 0 in CompletionUsage token counts #46

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LuminaX-alt
Copy link
Owner

This PR updates the CompletionUsage model to replace None values with 0 for prompt_tokens, completion_tokens, and total_tokens.

  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Additional context & links

This PR updates the CompletionUsage model to replace None values with 0 for prompt_tokens, completion_tokens, and total_tokens.
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.

1 participant