hi guys,
I have an on if you are using I am addressing the above. My procedure is as follows.
- i send a message via API to the endpoint
api.openai.com/v1/threads/{{thread}}/messages
- i assign the assistant with the corresponding ID via
api.openai.com/v1/threads/{{thread}}/runs
- I wait 15 seconds
- i retrieve the answer to the given thread via
api.openai.com/v1/threads/{{thread}}/messages
My problem now is that in 2 out of 10 cases the assistant ID = null in the response.
What can I optimize here or do differently so that it works?
I use the following header in the call - in addition to the Authorization and the Content-Type:
OpenAI-Beta = assistants=v2
Thank you very much!
Best regards
Bernd