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

Enhancement: Send "stream_options": {"include_usage": true} when "stream": true #4099

Open
1 task done
Manouchehri opened this issue Sep 17, 2024 · 0 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@Manouchehri
Copy link

What features would you like to see added?

When "stream": true, it'd be ideal if LibreChat could also send "stream_options": {"include_usage": true}. This only applies to OpenAI API endpoints.

More details

When running through a proxy, it's nice to get the token usage cached too.

Which components are impacted by your request?

General

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Manouchehri Manouchehri added the enhancement New feature or request label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant