I am following the documentation of the docs to retrieve the created thread with the following code:
thread = await chatgptclient.beta.threads.create()
message = await chatgptclient.beta.threads.messages.create(
thread_id=thread.id,
role="user",
content=prompt_description
)
run = await chatgptclient.beta.threads.runs.create(
thread_id=thread.id,
assistant_id=ASSISTANT_ID
)
messages = await chatgptclient.beta.threads.messages.list(thread_id=thread.id)
Is there a known issue to this method? I am encountering a 404 on the /runs part