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

fix(streaming): empty token and cost #55

Merged
merged 6 commits into from
Nov 11, 2023

Conversation

yuanbohan
Copy link
Contributor

@yuanbohan yuanbohan commented Nov 9, 2023

NOTE:

It is difficult to assure the calculation be accurate as OpenAI output

fix #54
ref #53

@yuanbohan yuanbohan requested a review from sunng87 November 9, 2023 03:00
@yuanbohan yuanbohan marked this pull request as draft November 9, 2023 05:51
@yuanbohan yuanbohan marked this pull request as ready for review November 9, 2023 06:29
@yuanbohan yuanbohan force-pushed the fix-streaming-empty-token-and-cost branch from 568f014 to 661a7f2 Compare November 9, 2023 06:53
@sunng87 sunng87 merged commit 8fb3d4f into main Nov 11, 2023
@sunng87 sunng87 deleted the fix-streaming-empty-token-and-cost branch November 11, 2023 05:28
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.

token and cost for OpenAI streaming
2 participants