v2.31.0
📦 openai-python-sdkView on GitHub →
✨ 5 features🐛 2 fixes🔧 1 symbols
Summary
This release introduces support for short-lived tokens, raw websocket data, and the 'phase' field in messages. It also includes a minor correction regarding the 'web_search_call.results' field in ResponseIncludable.
✨ New Features
- Added support for the 'phase' field to conversation messages.
- Added 'web_search_call.results' to the ResponseIncludable type.
- Added support for short-lived tokens in the client.
- Added support for sending raw data over websockets.
- Implemented indices array format for query and form serialization.
🐛 Bug Fixes
- Preserved hardcoded query parameters when merging with user parameters in the client.
- Removed 'web_search_call.results' from ResponseIncludable type (reverting a feature addition).