Function tools getting called again and again

Hi Everyone, suddenly from this morning the GPT 4o-mini has been responding - weirdly

Just calling functions again and again - no text reply from the the assistant - so it’s going into loop

is anyone else also facing the same problem

You’ll need to add your code here. I am using gpt-4o-mini as well. Its working fine.

Hi Thank you for your reponse.

are you also using function calling ??

Hi Everyone, I found the issue

Just sharing here in case it helps someone

Changing the reponse format form json_object to text - worked for me

i think the open ai team changed sometime internally

even in the playground if you put the response fromat as json_object and provide few function calls then it alsos starts behaving randomly calling any functions

1 Like