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

[Feature]: Enable HTTP 2.0 for upstream requests with httpx #3533

Open
Manouchehri opened this issue May 8, 2024 · 0 comments · May be fixed by #3958
Open

[Feature]: Enable HTTP 2.0 for upstream requests with httpx #3533

Manouchehri opened this issue May 8, 2024 · 0 comments · May be fixed by #3958
Labels
enhancement New feature or request

Comments

@Manouchehri
Copy link
Collaborator

The Feature

openai/openai-python#632 (comment)

e.g.

client = openai.AsyncOpenAI(
    api_key=OPENAI_API_KEY,
    base_url=OPENAI_API_BASE,
    http_client=httpx.AsyncClient(http2=True),
)

Motivation, pitch

This might improve perf for upstream requests.

Twitter / LinkedIn details

https://twitter.com/DaveManouchehri

@Manouchehri Manouchehri added the enhancement New feature or request label May 8, 2024
@Manouchehri Manouchehri changed the title [Feature]: Enable HTTP 2.0 for upstream requests [Feature]: Enable HTTP 2.0 for upstream requests with httpx May 8, 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

Successfully merging a pull request may close this issue.

1 participant