Migrating to HTTPX2

Community post

The OpenAI Python SDK now uses HTTPX2 for its synchronous and asynchronous HTTP clients. HTTPX2 is installed automatically with openai; the previous httpx package is not. This guide explains what changes for applications that interact with the SDK's HTTP layer.

WebNovare Imports W
Migrating to HTTPX2

The OpenAI Python SDK now uses HTTPX2 for its synchronous and asynchronous HTTP clients. HTTPX2 is installed automatically with openai; the previous httpx package is not. This guide explains what changes for applications that interact with the SDK's HTTP layer.

Source: github.com/openai (182 points, 78 comments) Hacker News discussion

Reader Support

Support WebNovare

Send a crypto tip if this article helped you.

Comments

No comments yet.

Log in or register to join the conversation.