Pydantic integration seems to be broken in new responses.create API

You can follow this example of sending, which I provided and verified 11 hours ago.

The support is provided by the OpenAI SDK library for Python, so you must pip install --upgrade openai too.