Change8

v2.10.0

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

Summary

Release 2.10.0 introduces a breaking change making the 'model' parameter mandatory for the responses/compact endpoint and improves type inference for pyright users.

⚠️ Breaking Changes

  • The 'model' parameter is now required for the responses/compact endpoint. Requests missing this parameter will now fail.

Migration Steps

  1. Ensure all calls to the responses/compact endpoint include the 'model' argument.

✨ New Features

  • Updated the responses/compact API endpoint to enforce the 'model' parameter as required.

🐛 Bug Fixes

  • Improved type inference for pyright by allowing TypedDict types to be correctly inferred within SequenceNotStr.

🔧 Affected Symbols

responses.compactSequenceNotStr