Change8

v1.99.4

Breaking Changes
📦 openai-python-sdk
1 breaking🐛 2 fixes🔧 1 symbols

Summary

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

⚠️ Breaking Changes

  • 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. Ensure any manual instantiations of ChatCompletionToolParam use dictionary syntax rather than class constructors if errors occur.

🐛 Bug Fixes

  • Renamed chat completion tool types for consistency.
  • Reverted ChatCompletionToolParam to a TypedDict to fix type checking issues.

🔧 Affected Symbols

ChatCompletionToolParam