| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| langroid-0.59.39-py3-none-any.whl | < 23 hours ago | 430.4 kB | |
| langroid-0.59.39.tar.gz | < 23 hours ago | 381.4 kB | |
| 0.59.39 source code.tar.gz | < 23 hours ago | 58.4 MB | |
| 0.59.39 source code.zip | < 23 hours ago | 58.9 MB | |
| README.md | < 23 hours ago | 791 Bytes | |
| Totals: 5 Items | 118.1 MB | 0 | |
Support async client factory for OpenAI HTTP client configuration
PR #990 enhances the http_client_factory pattern in OpenAIGPTConfig to support both sync and async HTTP clients.
What's New
The factory function now supports two patterns:
- Single client (existing): return an
httpx.Client— async client is created automatically - Tuple of clients (new): return
(httpx.Client, httpx.AsyncClient)— both are used as provided
This allows users to configure sync and async clients with identical settings (e.g. proxies, SSL certs) while maintaining full backward compatibility.
Details
See the updated docs: OpenAI HTTP Client Configuration