Change8

Migrating to OpenAI Python SDK v1.99.4

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

Released: 8/8/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:

ChatCompletionToolParam

Breaking Changes

Issue #1

ChatCompletionToolParam has been reverted from a class back to a TypedDict, which may affect code relying on class-based instantiation or inheritance.

Migration Steps

  1. 1
    Ensure any manual instantiations of ChatCompletionToolParam use dictionary syntax rather than class constructors if errors occur.

Release Summary

This patch release focuses on type definition fixes, specifically reverting ChatCompletionToolParam to a TypedDict and renaming internal chat completion tool types.

Need More Details?

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

View Full Changelog