Closed jdoucy closed 1 week ago
When using generateContentStream, the provided response promise contains generated text, but not usageMetadata
Response promise must contains usageMetadata
It worked when using generateContent (without streaming)
I fixed it locally, currently creating a clean merge request 😊
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)