v1.99.7
Breaking Changes📦 openai-python-sdk
⚠ 1 breaking🐛 2 fixes🔧 1 symbols
Summary
Release 1.99.7 focuses on fixing type definitions by reverting ChatCompletionMessageToolCallParam to a TypedDict.
⚠️ Breaking Changes
- ChatCompletionMessageToolCallParam has been reverted from a class back to a TypedDict. Code relying on class instantiation or isinstance checks will need to be updated to use dictionary syntax.
Migration Steps
- Update any code that treats ChatCompletionMessageToolCallParam as a class to treat it as a TypedDict (standard Python dictionary).
🐛 Bug Fixes
- Renamed ChatCompletionMessageToolCallParam to ensure consistency in type definitions.
- Reverted ChatCompletionMessageToolCallParam to a TypedDict to fix compatibility issues with expected dictionary structures.
🔧 Affected Symbols
ChatCompletionMessageToolCallParam