How to prevent the API returning multiple outputs?

I had a similar problem with gpt-4.1-mini producing about 3 to 15 similar messages.

In my case, the problem disappeared by itself after some time, I did not do anything special, and don’t get these duplicate messages for long time already.

2 Likes