Migrating to OpenAI Python SDK v1.108.1
Version v1.108.1 introduces 1 breaking change. This guide details how to update your code.
Released: 9/19/2025
1
Breaking Changes
1
Migration Steps
3
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
NotGivenOmitreasoning_textBreaking Changes
●Issue #1
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
- 1Update any type hints or logic that relies on the 'NotGiven' type for optional parameters to accommodate the 'Omit' type.
Release Summary
This release introduces the reasoning_text field to the API and updates internal type handling for optional parameters from NotGiven to Omit.
Need More Details?
View the full release notes and all changes for OpenAI Python SDK v1.108.1.
View Full Changelog