I have setup a simple call to the OpenAI API. When I send a prompt, I receive the first response back fine. But approx 6 seconds later, I receive ANOTHER response back (albeit, slightly different) for the same prompt.
I didn’t get a response in the end. I rebuilt it from scratch and it then worked fine. So the only conclusion I can make is that somehow, the logic in my code was triggering the request twice.
I’m getting the exact same behavior with the Assistants API. I’m doing some super rudimentary function calling where I need it to respond with a single word that I can detect, which it does great. Then, it sends another message right after it which messes up the whole flow of the logic.
This only started a couple days ago, without any changes on my end. It could still be an error on my part, but it’s weird that it just started happening recently.