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
with creating a thread: thread = client.beta.threads.create()
with creating the message: message = client.beta.threads.messages.create( thread_id=thread.id, role="role", content="message" )
and run using this command: run = client.beta.threads.runs.create_and_poll( thread_id=thread.id, assistant_id='assistant_id' )
Sometimes, when I see the chat in here https://platform.openai.com/threads/, one run causes multiple responses from the assistant. So, when I grab the latest message, it is not based on the initial message I sent.
I put all these three steps in one loop, of length around 100, and I saw this behavior in some of the threads.
To Reproduce
Code snippets
No response
OS
linux
Python version
3.10
Library version
openai v1.0.1
The text was updated successfully, but these errors were encountered:
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
with creating a thread:
thread = client.beta.threads.create()
with creating the message:
message = client.beta.threads.messages.create( thread_id=thread.id, role="role", content="message" )
and run using this command:
run = client.beta.threads.runs.create_and_poll( thread_id=thread.id, assistant_id='assistant_id' )
Sometimes, when I see the chat in here https://platform.openai.com/threads/, one run causes multiple responses from the assistant. So, when I grab the latest message, it is not based on the initial message I sent.
I put all these three steps in one loop, of length around 100, and I saw this behavior in some of the threads.
To Reproduce
Code snippets
No response
OS
linux
Python version
3.10
Library version
openai v1.0.1
The text was updated successfully, but these errors were encountered: