Skip to content

fix: Update usage type to match documented behavior #1403

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: master
Choose a base branch
from

Conversation

kakasoo
Copy link

@kakasoo kakasoo commented Mar 20, 2025

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

Changes being requested

The TypeScript type definition for the usage field does not match the documented behavior.
According to the documentation, usage can be null for all chunks except the last one, but the current type definition does not allow null.
This change updates the type to correctly reflect the API response.

Additional context & links

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