Change8

Migrating to OpenAI Python SDK v1.99.7

Version v1.99.7 introduces 1 breaking change. This guide details how to update your code.

Released: 8/11/2025

1
Breaking Changes
1
Migration Steps
1
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

ChatCompletionMessageToolCallParam

Breaking Changes

Issue #1

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

  1. 1
    Update any code that treats ChatCompletionMessageToolCallParam as a class to treat it as a TypedDict (standard Python dictionary).

Release Summary

Release 1.99.7 focuses on fixing type definitions by reverting ChatCompletionMessageToolCallParam to a TypedDict.

Need More Details?

View the full release notes and all changes for OpenAI Python SDK v1.99.7.

View Full Changelog