Repository navigation
fix(openai): support SDK 3 HTTPX2 clients - #2583
Closed
trumandaniels wants to merge 1 commit into
Closed
trumandaniels wants to merge 1 commit into
trumandaniels wants to merge 1 commit into
Conversation
trumandaniels
marked this pull request as draft
September 1, 2026 00:24
Remove the runtime dependency on legacy HTTPX during automatic client construction. Permit OpenAI 3 while preserving OpenAI 2 support on Python 3.9, and cover both synchronous and asynchronous paths. Refs: 567-labs#2553
trumandaniels
force-pushed
the
fix/openai-v3-httpx2
branch
from
September 1, 2026 01:34
0eb123b to
2ef9808
Compare
This was referenced Sep 3, 2026
Collaborator
|
Superseded by the consolidated implementation in #2597: #2597 . The release branch includes this fix or its deduplicated equivalent, with additional regression coverage. Closing the overlapping source PR to keep review in one place. This does not mean the release is merged or shipped: #2597 remains draft pending exact-head CI, independent review, and unresolved security sign-off. |
This was referenced Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #2553 by supporting OpenAI SDK 3 and its HTTPX2 transport in automatic provider construction.
PR #2558 established that pre-built OpenAI 3 clients can be wrapped. This patch covers the remaining
from_provider("openai/...")path, which imported legacyhttpxeven though OpenAI 3 no longer installs it.Changes
httpxopenai>=2.0.0,<4.0.0for core and Perplexity dependenciesTesting
httpxgit diff --checkpassedUpstream CI is waiting for maintainer approval because this is a first-time contributor pull request.
This PR was written by Cursor