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

With stream response in side ChatCompletionChunk Usage always coming null. #227

Closed
hardikbhalodi opened this issue Aug 4, 2023 · 1 comment

Comments

@hardikbhalodi
Copy link

With stream response in side ChatCompletionChunk ->Usage always null.

Environment

com.aallam.openai:openai-client:3.3.2
Kotlin version: 1.9.0
Android 13

@hardikbhalodi hardikbhalodi changed the title With stream response in side `ChatCompletionChunk' Usage always coming null. With stream response in side ChatCompletionChunk Usage always coming null. Aug 4, 2023
@hardikbhalodi
Copy link
Author

Seems chat response from OpenAi is not giving usage object for chunk

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

No branches or pull requests

1 participant