-
Notifications
You must be signed in to change notification settings - Fork 168
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
usageMetadata not present on generateContentStream response #174
Comments
I fixed it locally, currently creating a clean merge request 😊 |
jdoucy
added a commit
to jdoucy/generative-ai-js
that referenced
this issue
Jun 17, 2024
hsubox76
pushed a commit
that referenced
this issue
Jun 17, 2024
Merged
This was referenced Oct 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the bug:
When using generateContentStream, the provided response promise contains generated text, but not usageMetadata
Actual vs expected behavior:
Response promise must contains usageMetadata
Any other information you'd like to share?
It worked when using generateContent (without streaming)
The text was updated successfully, but these errors were encountered: