openai/openai-python v2.31.0
openai/openai-python
Captured source
source ↗published Apr 8, 2026seen Jun 26captured 4whttp 200method plain
v2.31.0
Repository: openai/openai-python
Tag: v2.31.0
Published: 2026-04-08T21:01:00Z
Prerelease: no
Release notes:
2.31.0 (2026-04-08)
Full Changelog: v2.30.0...v2.31.0
Features
- api: add phase field to conversations message (3e5834e)
- api: add web_search_call.results to ResponseIncludable type (ffd8741)
- client: add support for short-lived tokens (#1608) (22fe722)
- client: support sending raw data over websockets (f1bc52e)
- internal: implement indices array format for query and form serialization (49194cf)
Bug Fixes
- client: preserve hardcoded query params when merging with user params (92e109c)
- types: remove web_search_call.results from ResponseIncludable (d3cc401)
Chores
Documentation
- api: update file parameter descriptions in vector_stores files and file_batches (a9e7ebd)