考虑默认启用 HTTP2
作者: KrisTHL181创建于 2026年7月8日更新于 2026年9月23日
标签sdk-breaking-change
- Anthropic Python SDK (v0.104.1) already passes
http2through to the httpx transport (_base_client.py:871) - httpx has supported HTTP/2 since v0.13 (current declared dep is
httpx>=0.23.0) - The
h2package is lightweight, pure-Python, and widely used - HTTP/2 is supported across all major LLM API providers
内容来源: openai/openai-python