-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed as not planned
Labels
questionFurther information is requestedFurther information is requested
Description
Confirm this is an issue with the Python library and not an underlying OpenAI API
- This is an issue with the Python library
Describe the bug
Latest release of pydantic library https://pypi.org/project/pydantic/2.11.1/ makes listing thread messages raising an error.
To Reproduce
See code snippet below
Code snippets
from openai import OpenAI
key = ''
openai_client = OpenAI(api_key='')
thread_id = openai_client.beta.threads.create().id
print(openai_client.beta.threads.messages.list(thread_id=thread_id))OS
unix
Python version
Python v3.9
Library version
openai v1.52.1
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested