You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I'm not able to list messages of a thread filtering by a certain limit.
To Reproduce
See the code snippet below.
Code snippets
# Assuming we have 20 messages in a thread with id "XYZ".raw_messages= []
asyncforminassistant.async_beta_client.threads.messages.list("XYZ", order="asc", limit=1):
print(m)
raw_messages.append(m)
print(len(raw_messages))
# At the end of this code, the result is 20 and the loop runs 20 times. I was expecting a single result.
OS
macOS
Python version
Python v3.11
Library version
openai v1.6.1 (but also previous versions)
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
I'm not able to list messages of a thread filtering by a certain limit.
To Reproduce
See the code snippet below.
Code snippets
OS
macOS
Python version
Python v3.11
Library version
openai v1.6.1 (but also previous versions)
The text was updated successfully, but these errors were encountered: