Change8

v1.108.1

Breaking Changes
📦 openai-python-sdkView on GitHub →
1 breaking1 features🔧 3 symbols

Summary

This release introduces the reasoning_text field to the API and updates internal type handling for optional parameters from NotGiven to Omit.

⚠️ Breaking Changes

  • The internal type for optional parameters has changed from 'NotGiven' to 'Omit'. This may break code that explicitly imports or performs type-checking against the 'NotGiven' sentinel for these specific parameters.

Migration Steps

  1. Update any type hints or logic that relies on the 'NotGiven' type for optional parameters to accommodate the 'Omit' type.

✨ New Features

  • api: Added support for 'reasoning_text' in API responses.

🔧 Affected Symbols

NotGivenOmitreasoning_text