-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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: Use HTTP 2.0 for OpenAI requests #3044
Comments
See openai/openai-node#392 (comment) for more info. |
gotcha that's an easy implementation, thanks! |
Thanks! Should I be seeing this working in https://github.com/danny-avila/LibreChat/pkgs/container/librechat-dev-api/229754456?tag=4416f69a9b299c03dd947e52a033af202672597d? It looks like requests are still HTTP/1.1 for me, but I might be doing something wrong. :) |
@Manouchehri I see, there's a little more to configure to enable h2 by default |
What features would you like to see added?
Should hopefully improve perf slightly. Right now requests to my LiteLLM (aka custom OpenAI API) endpoint are all HTTP/1.1 from what I see. =)
More details
See BerriAI/litellm#3533 (comment) for example code in Python. Not entirely sure how to do it with node.
Which components are impacted by your request?
General, Endpoints
Pictures
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: