Skip to content

The agent engineering platform.

feat(openai): support openai 3.0 SDK (#39613)

ccurmeee88091dc0f2
diff --git a/libs/partners/openai/Makefile b/libs/partners/openai/Makefile
index 6516bc8813..0c435be752 100644
--- a/libs/partners/openai/Makefile
+++ b/libs/partners/openai/Makefile
@@ -10,6 +10,10 @@ UV_FROZEN = true
TEST_FILE ?= tests/unit_tests/
PYTEST_EXTRA ?=
+# A single canonical live request, reused to smoke both supported openai
+# majors in `integration_test` (see below).
+SDK_SMOKE_TEST = tests/integration_tests/chat_models/test_responses_standard.py::TestOpenAIResponses::test_invoke
+
integration_test integration_tests: TEST_FILE=tests/integration_tests/
# unit tests are run with the --disable-socket flag to prevent network calls
@@ -24,7 +28,13 @@ test tests:
fi
TIKTOKEN_CACHE_DIR=tiktoken_cache uv run --group test pytest $(PYTEST_EXTRA) --disable-socket --allow-unix-socket $(TEST_FILE)
+# Runs the full integration suite against the locked SDK, then smokes a single
+# live request on each supported openai major so the httpx (2.x) and httpx2
+# (3.x) transport paths are always covered, regardless of which openai version
+# uv.lock currently resolves.
integration_test integration_tests:
+ uv run --with 'openai>=2.45.0,<3.0.0' --group test --group test_integration pytest -v --tb=short $(SDK_SMOKE_TEST)
+ uv run --with 'openai>=3.0.0,<4.0.0' --group test --group test_integration pytest -v --tb=short $(SDK_SMOKE_TEST)
uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable $(TEST_FILE)
# Run VCR cassette-backed integration tests in playback-only mode (no API keys needed).
diff --git a/libs/partners/openai/langchain_openai/_compat.py b/libs/partners/openai/langchain_openai/_compat.py
new file mode 100644
index 0000000000..d02f852b3e
--- /dev/null
+++ b/libs/partners/openai/langchain_openai/_compat.py
@@ -0,0 +1,45 @@
+"""Resolve the `httpx` library matching the installed `openai` SDK.
+
+`openai>=3` is backed by `httpx2` (an API-identical drop-in for `httpx`),
+`openai<3` by `httpx`. Transport/config objects injected into the SDK client
+are built from the same library, so this module re-exports whichever one the
+installed SDK version defaults to.
+
+Import `httpx` from here **only** for objects handed to the OpenAI SDK client
+(e.g. a custom transport, `Limits`, `Proxy`, or `http_client=`). Standalone HTTP
+code should import `httpx` directly.
+
+Note: the SDK's `DefaultHttpxClient`/`DefaultAsyncHttpxClient` classes are *not*
+re-exported here — they are subclassable in both SDK versions (backed by
+`httpx2` on `openai>=3`), so subclass `openai.DefaultHttpxClient` directly. The
+`DefaultHttpx2Client` names are factory functions, not classes, and cannot be
+subclassed.
+"""
+
+from __future__ import annotations
+
+import re
+from typing import TYPE_CHECKING
+
+import openai
+
+
+def _sdk_uses_httpx2() -> bool:
+ """Whether the installed `openai` SDK defaults to `httpx2` (openai>=3)."""
+ # First integer run, so tag-derived strings like `v3.0.0` still parse;
+ # unparseable falls back to classic httpx (always present).
+ match = re.match(r"\D*(\d+)", str(getattr(openai, "__version__", "")))
+ return match is not None and int(match.group(1)) >= 3
+
+
+if TYPE_CHECKING:
+ # Type-check against `httpx`, whose API `httpx2` mirrors. This keeps mypy
+ # working in the lint environment (which installs `httpx`, not `httpx2`)
+ # while the runtime selection below picks the correct module.
+ import httpx
+elif _sdk_uses_httpx2():
+ import httpx2 as httpx # type: ignore[import-not-found]
+else:
+ import httpx
+
+__all__ = ["httpx"]
diff --git a/libs/partners/openai/langchain_openai/chat_models/_client_utils.py b/libs/partners/openai/langchain_openai/chat_models/_client_utils.py
index e530635db8..99e9086fd5 100644
--- a/libs/partners/openai/langchain_openai/chat_models/_client_utils.py
+++ b/libs/partners/openai/langchain_openai/chat_models/_client_utils.py
@@ -22,10 +22,11 @@ from collections.abc import AsyncIterator, Awaitable, Callable, Sequence
from functools import lru_cache
from typing import Any, TypeVar, cast
-import httpx
import openai
from pydantic import SecretStr
+from langchain_openai._compat import httpx
+
logger = logging.getLogger(__name__)
SocketOption = tuple[int, int, int]
diff --git a/libs/partners/openai/langchain_openai/embeddings/base.py b/libs/partners/openai/langchain_openai/embeddings/base.py
index 8595c7a8f4..4ea45e5e28 100644
--- a/libs/partners/openai/langchain_openai/embeddings/base.py
+++ b/libs/partners/openai/langchain_openai/embeddings/base.py
@@ -421,11 +421,12 @@ class OpenAIEmbeddings(BaseModel, Embeddings):
else:
if self.openai_proxy and not self.http_client:
try:
- import httpx
+ from langchain_openai._compat import httpx
except ImportError as e:
msg = (
- "Could not import httpx python package. "
- "Please install it with `pip install httpx`."
+ "Could not import the httpx package used by the "
+ "OpenAI SDK. It is normally installed alongside "
+ "`openai`; reinstall with `pip install openai`."
)
raise ImportError(msg) from e
self.http_client = httpx.Client(proxy=self.openai_proxy)
@@ -437,11 +438,12 @@ class OpenAIEmbeddings(BaseModel, Embeddings):
if not self.async_client:
if self.openai_proxy and not self.http_async_client:
try:
- import httpx
+ from langchain_openai._compat import httpx
except ImportError as e:
msg = (
- "Could not import httpx python package. "
- "Please install it with `pip install httpx`."
+ "Could not import the httpx package used by the "
+ "OpenAI SDK. It is normally installed alongside "
+ "`openai`; reinstall with `pip install openai`."
)
raise ImportError(msg) from e
self.http_async_client = httpx.AsyncClient(proxy=self.openai_proxy)
diff --git a/libs/partners/openai/pyproject.toml b/libs/partners/openai/pyproject.toml
index eeb369c98c..edf8de8310 100644
--- a/libs/partners/openai/pyproject.toml
+++ b/libs/partners/openai/pyproject.toml
@@ -24,7 +24,8 @@ version = "1.4.3"
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-core>=1.5.3,<2.0.0",
- "openai>=2.45.0,<3.0.0",
+ "certifi>=2024.6.2",
+ "openai>=2.45.0,<4.0.0",
"tiktoken>=0.7.0,<1.0.0",
]
@@ -50,7 +51,7 @@ test = [
"pytest-retry>=1.7.0,<1.8.0",
"pytest-socket>=0.6.0,<1.0.0",
"pytest-xdist>=3.6.1,<4.0.0",
- "vcrpy>=8.0.0,<9.0.0",
+ "vcrpy>=8.2.0,<9.0.0",
"numpy>=1.26.4; python_version<'3.13'",
"numpy>=2.1.0; python_version>='3.13'",
"langchain>=1.0.0,<2.0.0",
diff --git a/libs/partners/openai/tests/unit_tests/chat_models/test_client_utils.py b/libs/partners/openai/tests/unit_tests/chat_models/test_client_utils.py
index 9a16992210..734eff3f73 100644
--- a/libs/partners/openai/tests/unit_tests/chat_models/test_client_utils.py
+++ b/libs/partners/openai/tests/unit_tests/chat_models/test_client_utils.py
@@ -456,7 +456,7 @@ def test_build_proxied_async_httpx_client_opt_out_returns_plain_client() -> None
verify=True,
socket_options=(),
)
- assert isinstance(client, httpx.AsyncClient)
+ assert isinstance(client, _client_utils.httpx.AsyncClient)
def test_build_proxied_async_httpx_client_wraps_transport() -> None:
@@ -470,7 +470,7 @@ def test_build_proxied_async_httpx_client_wraps_transport() -> None:
verify=True,
socket_options=((SOL_SOCKET, SO_KEEPALIVE, 1),),
)
- assert isinstance(client, httpx.AsyncClient)
+ assert isinstance(client, _client_utils.httpx.AsyncClient)
def test_build_proxied_sync_httpx_client_opt_out_returns_plain_client() -> None:
@@ -479,7 +479,7 @@ def test_build_proxied_sync_httpx_client_opt_out_returns_plain_client() -> None:
verify=True,
socket_options=(),
)
- assert isinstance(client, httpx.Client)
+ assert isinstance(client, _client_utils.httpx.Client)
def test_build_proxied_sync_httpx_client_wraps_transport() -> None:
@@ -488,7 +488,7 @@ def test_build_proxied_sync_httpx_client_wraps_transport() -> None:
verify=True,
socket_options=((SOL_SOCKET, SO_KEEPALIVE, 1),),
)
- assert isinstance(client, httpx.Client)
+ assert isinstance(client, _client_utils.httpx.Client)
def test_warn_if_proxy_env_shadowed_emits_once(
diff --git a/libs/partners/openai/tests/unit_tests/test_compat.py b/libs/partners/openai/tests/unit_tests/test_compat.py
new file mode 100644
index 0000000000..b3e69647c0
--- /dev/null
+++ b/libs/partners/openai/tests/unit_tests/test_compat.py
@@ -0,0 +1,95 @@
+"""Tests for the `httpx` / `httpx2` compatibility shim (`_compat`)."""
+
+import inspect
+
+import openai
+import pytest
+
+from langchain_openai import _compat
+from langchain_openai.chat_models import _client_utils
+
+
+def test_module_httpx_matches_helper() -> None:
+ """The module-level `httpx` binding agrees with the version check."""
+ expected = "httpx2" if _compat._sdk_uses_httpx2() else "httpx"
+ assert _compat.httpx.__name__ == expected
+
+
+def test_only_httpx_is_exported() -> None:
+ """The default client classes are intentionally not re-exported."""
+ assert _compat.__all__ == ["httpx"]
+
+
+def test_default_clients_are_subclassable_classes() -> None:
+ """`DefaultHttpxClient`/`DefaultAsyncHttpxClient` must be classes, not factories.
+
+ Regression guard: on openai>=3, `DefaultHttpx2Client` is a *factory
+ function* (returns an `httpx2.Client`) and cannot be subclassed, while the
+ legacy `DefaultHttpxClient` name remains a subclassable class. The wrappers
+ below depend on subclassing the latter.
+ """
+ assert inspect.isclass(openai.DefaultHttpxClient)
+ assert inspect.isclass(openai.DefaultAsyncHttpxClient)
+
+
+def test_wrappers_subclass_openai_default_clients() -> None:
+ """The client wrappers extend the SDK's version-appropriate base classes."""
+ assert issubclass(_client_utils._SyncHttpxClientWrapper, openai.DefaultHttpxClient)
+ assert issubclass(
+ _client_utils._AsyncHttpxClientWrapper, openai.DefaultAsyncHttpxClient
+ )
+
+
+def test_client_utils_transport_objects_use_shim_httpx() -> None:
+ """Transport/config objects come from the same module the SDK client uses.
+
+ Handing the SDK an `httpx` object when it expects `httpx2` (or vice
+ versa) happens to work today because the two libraries are drop-in
+ equivalents. Matching them anyway keeps type annotations and `isinstance`
+ checks honest.
+ """
+ assert _client_utils.httpx is _compat.httpx
+ assert isinstance(_client_utils._DEFAULT_CONNECTION_LIMITS, _compat.httpx.Limits)
+
+
+ ("version", "expected"),
+ [
+ ("2.45.0", False),
+ ("2.54.0", False),
+ ("3.0.0", True),
+ ("3.1.2", True),
+ ("4.0.0", True),
+ # Tag-derived / pre-release strings a plain `int()` parse choked on.
+ ("v3.0.0", True),
+ ("3.0.0rc1", True),
+ ("3.0.0.dev1", True),
+ ],
+)
+def test_sdk_uses_httpx2_reads_major_version(
+ monkeypatch: pytest.MonkeyPatch, version: str, expected: bool
+) -> None:
+ """Selection keys on the openai major version (httpx2 default landed in 3.0)."""
+ monkeypatch.setattr(openai, "__version__", version)
+ assert _compat._sdk_uses_httpx2() is expected
+
+
+def test_httpx2_factory_presence_does_not_flip_selection(
+ monkeypatch: pytest.MonkeyPatch,
+) -> None:
+ """Late openai 2.x exposes a `DefaultHttpx2Client` factory but stays classic.
+
+ Regression guard for the case where a 2.x SDK backports the httpx2 factory:
+ the major version (2) must win, so the shim stays on classic `httpx`.
+ """
+ monkeypatch.setattr(openai, "__version__", "2.54.0")
+ monkeypatch.setattr(openai, "DefaultHttpx2Client", object(), raising=False)
+ assert _compat._sdk_uses_httpx2() is False
+
+
+def test_sdk_uses_httpx2_unparseable_version_falls_back_to_classic(
+ monkeypatch: pytest.MonkeyPatch,
+) -> None:
+ """An unparseable version must not raise at import; fall back to classic."""
+ monkeypatch.setattr(openai, "__version__", "not-a-version")
+ assert _compat._sdk_uses_httpx2() is False
diff --git a/libs/partners/openai/uv.lock b/libs/partners/openai/uv.lock
index e2ca7771f0..e2b6dc1fd3 100644
--- a/libs/partners/openai/uv.lock
+++ b/libs/partners/openai/uv.lock
@@ -6,8 +6,10 @@ resolution-markers = [
"python_full_version >= '3.13' and python_full_version < '3.15' and platform_python_implementation == 'PyPy'",
"python_full_version >= '3.15' and platform_python_implementation != 'PyPy'",
"python_full_version >= '3.13' and python_full_version < '3.15' and platform_python_implementation != 'PyPy'",
- "python_full_version >= '3.11' and python_full_version < '3.13' and platform_python_implementation == 'PyPy'",
- "python_full_version >= '3.11' and python_full_version < '3.13' and platform_python_implementation != 'PyPy'",
+ "python_full_version == '3.12.*' and platform_python_implementation == 'PyPy' and sys_platform == 'emscripten'",
+ "(python_full_version >= '3.11' and python_full_version < '3.13' and platform_python_implementation == 'PyPy' and sys_platform != 'emscripten') or (python_full_version == '3.11.*' and platform_python_implementation == 'PyPy' and sys_platform == 'emscripten')",
+ "python_full_version == '3.12.*' and platform_python_implementation != 'PyPy' and sys_platform == 'emscripten'",
+ "(python_full_version >= '3.11' and python_full_version < '3.13' and platform_python_implementation != 'PyPy' and sys_platform != 'emscripten') or (python_full_version == '3.11.*' and platform_python_implementation != 'PyPy' and sys_platform == 'emscripten')",
"python_full_version < '3.11' and platform_python_implementation == 'PyPy'",
"python_full_version < '3.11' and platform_python_implementation != 'PyPy'",
]
@@ -448,6 +450,19 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" },
]
+[[package]]
+name = "httpcore2"
+version = "2.10.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "h11", marker = "python_full_version != '3.12.*' or sys_platform != 'emscripten'" },
+ { name = "truststore", marker = "python_full_version != '3.12.*' or sys_platform != 'emscripten'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/a9/83/a896fc59940fc5a6e2aff3a4be1d92fa890112936803b331cae75a993c34/httpcore2-2.10.0.tar.gz", hash = "sha256:13c0cc3d1919d4f28457f60cd2c2abe04113a8af184ccf1142811beba936f9dc", size = 67427, upload-time = "2026-08-09T09:11:32.123Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e5/4f/d149104195a35e2853a2fc203a8e3477747e58c80e17dda686dace174383/httpcore2-2.10.0-py3-none-any.whl", hash = "sha256:7df06cfb34070cae4f7c89be69dc1095eca138e9704ceffb98d25c1912ab6f01", size = 83000, upload-time = "2026-08-09T09:11:29.555Z" },
+]
+
[[package]]
name = "httpx"
version = "0.28.1"
@@ -463,13 +478,39 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" },
]
+[[package]]
+name = "httpx2"
+version = "2.10.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio", marker = "sys_platform != 'emscripten'" },
+ { name = "httpcore2", marker = "sys_platform != 'emscripten'" },
+ { name = "httpx2-jsfetch", marker = "python_full_version >= '3.12' and sys_platform == 'emscripten'" },
+ { name = "idna" },
+ { name = "truststore", marker = "sys_platform != 'emscripten'" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/bd/3d/f9a8c07a3884f3e5b26205e8436a18b3af61c5d53192c3bea235574dbbec/httpx2-2.10.0.tar.gz", hash = "sha256:8741d7329fe2c7885fc9ceb61c8217acfb87a85f75723714b89ebf7ad7196338", size = 98749, upload-time = "2026-08-09T09:11:33.24Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b9/6d/a637d52449d98a6892d9a4dc0262587afdb6a66f201871842dce5a97b1c1/httpx2-2.10.0-py3-none-any.whl", hash = "sha256:5e3194a432701e1cc6f69a8b1b2fa199ef907013fede8d9a09a2c5b7b8141a18", size = 94355, upload-time = "2026-08-09T09:11:30.882Z" },
+]
+
+[[package]]
+name = "httpx2-jsfetch"
+version = "1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/cd/c4/0e5636363151a2a1795e0a77617168b9ca438e1748ec05fc9b5687f93d64/httpx2_jsfetch-1.0.tar.gz", hash = "sha256:70a0e3eabfef7cce5ad9c629f7d01ca05e418f586646f4ddf14782e4c1454c60", size = 6872, upload-time = "2026-08-07T00:13:07.492Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9b/43/832f631d32e4f1211caa2ba368317739fe71f0b8530e4c9d15dc454bac2a/httpx2_jsfetch-1.0-py3-none-any.whl", hash = "sha256:cb916b707601e69a07721aabc8f3f6659be3a6893bc1ff5c6f9e02241df2da32", size = 6382, upload-time = "2026-08-07T00:13:06.567Z" },
+]
+
[[package]]
name = "idna"
-version = "3.15"
+version = "3.18"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/82/77/7b3966d0b9d1d31a36ddf1746926a11dface89a83409bf1483f0237aa758/idna-3.15.tar.gz", hash = "sha256:ca962446ea538f7092a95e057da437618e886f4d349216d2b1e294abfdb65fdc", size = 199245, upload-time = "2026-05-12T22:45:57.011Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/cd/63/9496c57188a2ee585e0f1db071d75089a11e98aa86eb99d9d7618fc1edce/idna-3.18.tar.gz", hash = "sha256:ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848", size = 196711, upload-time = "2026-06-02T14:34:07.794Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d2/23/408243171aa9aaba178d3e2559159c24c1171a641aa83b67bdd3394ead8e/idna-3.15-py3-none-any.whl", hash = "sha256:048adeaf8c2d788c40fee287673ccaa74c24ffd8dcf09ffa555a2fbb59f10ac8", size = 72340, upload-time = "2026-05-12T22:45:55.733Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/5e/d4e9f1a599fb8e573b7b87160658329fbf28d19eac2718f51fc3def3aa5a/idna-3.18-py3-none-any.whl", hash = "sha256:7f952cbe720b688055e3f87de14f5c3e5fdaa8bc3928985c4077ca689de849a2", size = 65455, upload-time = "2026-06-02T14:34:06.319Z" },
]
[[package]]
@@ -731,6 +772,7 @@ name = "langchain-openai"
version = "1.4.3"
source = { editable = "." }
dependencies = [
+ { name = "certifi" },
{ name = "langchain-core" },
{ name = "openai" },
{ name = "tiktoken" },
@@ -770,8 +812,9 @@ typing = [
[package.metadata]
requires-dist = [
+ { name = "certifi", specifier = ">=2024.6.2" },
{ name = "langchain-core", editable = "../../core" },
- { name = "openai", specifier = ">=2.45.0,<3.0.0" },
+ { name = "openai", specifier = ">=2.45.0,<4.0.0" },
{ name = "tiktoken", specifier = ">=0.7.0,<1.0.0" },
]
@@ -793,7 +836,7 @@ test = [
{ name = "pytest-watcher", specifier = ">=0.3.4,<1.0.0" },
{ name = "pytest-xdist", specifier = ">=3.6.1,<4.0.0" },
{ name = "syrupy", specifier = ">=5.0.0,<6.0.0" },
- { name = "vcrpy", specifier = ">=8.0.0,<9.0.0" },
+ { name = "vcrpy", specifier = ">=8.2.0,<9.0.0" },
]
test-integration = [
{ name = "httpx", specifier = ">=0.27.0,<1.0.0" },
@@ -1191,8 +1234,10 @@ resolution-markers = [
"python_full_version >= '3.13' and python_full_version < '3.15' and platform_python_implementation == 'PyPy'",
"python_full_version >= '3.15' and platform_python_implementation != 'PyPy'",
"python_full_version >= '3.13' and python_full_version < '3.15' and platform_python_implementation != 'PyPy'",
- "python_full_version >= '3.11' and python_full_version < '3.13' and platform_python_implementation == 'PyPy'",
- "python_full_version >= '3.11' and python_full_version < '3.13' and platform_python_implementation != 'PyPy'",
+ "python_full_version == '3.12.*' and platform_python_implementation == 'PyPy' and sys_platform == 'emscripten'",
+ "(python_full_version >= '3.11' and python_full_version < '3.13' and platform_python_implementation == 'PyPy' and sys_platform != 'emscripten') or (python_full_version == '3.11.*' and platform_python_implementation == 'PyPy' and sys_platform == 'emscripten')",
+ "python_full_version == '3.12.*' and platform_python_implementation != 'PyPy' and sys_platform == 'emscripten'",
+ "(python_full_version >= '3.11' and python_full_version < '3.13' and platform_python_implementation != 'PyPy' and sys_platform != 'emscripten') or (python_full_version == '3.11.*' and platform_python_implementation != 'PyPy' and sys_platform == 'emscripten')",
]
sdist = { url = "https://files.pythonhosted.org/packages/b5/f4/098d2270d52b41f1bd7db9fc288aaa0400cb48c2a3e2af6fa365d9720947/numpy-2.3.4.tar.gz", hash = "sha256:a7d018bfedb375a8d979ac758b120ba846a7fe764911a64465fd87b8729f4a6a", size = 20582187, upload-time = "2025-10-15T16:18:11.77Z" }
wheels = [
@@ -1273,21 +1318,21 @@ wheels = [
[[package]]
name = "openai"
-version = "2.45.0"
+version = "3.0.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "anyio" },
{ name = "distro" },
- { name = "httpx" },
+ { name = "httpx2" },
{ name = "jiter" },
{ name = "pydantic" },
{ name = "sniffio" },
{ name = "tqdm" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/78/60/d4219875289b11d2c2f7da93c36283da224a2e55865ed865ab64e0ce9217/openai-2.45.0.tar.gz", hash = "sha256:10d34ca9c5643bce775852fddbfc172505cb1d4de1ccd101696c3ecff358765d", size = 1109653, upload-time = "2026-07-09T18:02:44.091Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/54/8c/2f500e8be09d1ae98c530467962535198b02cd4550cd418bbbaedc8b2910/openai-3.0.0.tar.gz", hash = "sha256:ffd00ef1678d70957e1f1ed98d5bfcf1d661f41ea4482f22e7d0144a66435a49", size = 1123740, upload-time = "2026-08-12T01:55:50.849Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/f1/b0/2291689e3ec4723fbf5bbf3b54afcd7b160f9ddc98ca7aedfd0132af5677/openai-2.45.0-py3-none-any.whl", hash = "sha256:5df105f5f8c9b711fcb9d06d2d3888cebc82506db216484c14a4e53cdf651777", size = 1629470, upload-time = "2026-07-09T18:02:42.21Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/0d/9850e7eddb5e66da4439ed503e78e09ad1fd0195e6df51e4236c75763581/openai-3.0.0-py3-none-any.whl", hash = "sha256:8d32ac3a6647a66910d6cb8a64f0fa5a6c823604b6e82db83d9d055c6709bd51", size = 1665775, upload-time = "2026-08-12T01:55:48.678Z" },
]
[[package]]
@@ -2269,6 +2314,15 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/d0/30/dc54f88dd4a2b5dc8a0279bdd7270e735851848b762aeb1c1184ed1f6b14/tqdm-4.67.1-py3-none-any.whl", hash = "sha256:26445eca388f82e72884e0d580d5464cd801a3ea01e63e5601bdff9ba6a48de2", size = 78540, upload-time = "2024-11-24T20:12:19.698Z" },
]
+[[package]]
+name = "truststore"
+version = "0.10.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/53/a3/1585216310e344e8102c22482f6060c7a6ea0322b63e026372e6dcefcfd6/truststore-0.10.4.tar.gz", hash = "sha256:9d91bd436463ad5e4ee4aba766628dd6cd7010cf3e2461756b3303710eebc301", size = 26169, upload-time = "2025-08-12T18:49:02.73Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/19/97/56608b2249fe206a67cd573bc93cd9896e1efb9e98bce9c163bcdc704b88/truststore-0.10.4-py3-none-any.whl", hash = "sha256:adaeaecf1cbb5f4de3b1959b42d41f6fab57b2b1666adb59e89cb0b53361d981", size = 18660, upload-time = "2025-08-12T18:49:01.46Z" },
+]
+
[[package]]
name = "types-requests"
version = "2.31.0.6"