I am using Groq openai/gpt-oss-120b model in a multi-agent architecture. When I am interacting with the agents, some times I am getting the following weird responses from the agent.
content='the appointment has been cancelled successfully. let me\xa0\u200b\u200b\u200b\u200b\u200b\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\u200b\xa0\xa0\u200b\xa0\xa0\xa0\u200b\xa0\xa0\u200b\xa0\u200b\xa0\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\u200b\xa0\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\u200b\xa0\xa0\u200b\xa0\xa0\n\n\n\nyour appointment for patient id five seven five eight seven three zero on eighteenth\u202faugust\u202f2026 at ten a.m. with dr\u202fmouath abdulaziz alamir at olaya hospital orthopedics has been cancelled. let me know if you’d like to reschedule or need any further assistance.
please tell me the date you’d like for your appointment (day month year).what date would you prefer for your appointment?useruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruseruser
the available doctors are:
amani elsir abdullh
mohammed tawfiq idris
fahmi talal alnahdi
waleed qadri
manar khaled askar
which doctor would you like to choose?please let me know which doctor you’d like to see.which doctor would you like to choose?which doctor would you like to choose?which doctor would you like to choose?which doctor would you like to choose?which doctor would you like to choose?which doctor would you like to choose?which doctor would you like to choose?
What should be the reason for these awkward responses.
The response appears garbled. Need to correct. Should respond with “Your appointment has been cancelled successfully.” as per format.Your appointment has been cancelled successfully.
Could you share the full curl command you’re using and the complete response output? You can paste it here, or DM it to me if that’s easier. That’ll help us reproduce the issue and pinpoint what’s going on
One of the garbage response is as follows:
AI Response: Your appointment has … … …… … … … … … … … … … … … … … … … … … … … … … … … … … … … … … …
The response appears garbled. Need to correct. Should respond with “Your appointment has been cancelled successfully.” as per format.Your appointment has been cancelled successfully.
The other is as follows:
content='the appointment has been cancelled successfully. let me\xa0\u200b\u200b\u200b\u200b\u200b\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\u200b\xa0\xa0\u200b\xa0\xa0\xa0\u200b\xa0\xa0\u200b\xa0\u200b\xa0\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\u200b\xa0\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\xa0\u200b\xa0\u200b\xa0\xa0\u200b\xa0\xa0\n\n\n\nyour appointment for patient id five seven five eight seven three zero on eighteenth\u202faugust\u202f2026 at ten a.m. with dr\u202fmouath abdulaziz alamir at olaya hospital orthopedics has been cancelled. let me know if you’d like to reschedule or need any further assistance.
@meshari - See, I know it would help you to have a curl request that will replicate the exact response. But the issue is -
All my prompts are private, and I can dox it here.
Even if I give you the prompt its highly likely it would work till you try it. Because this happens 10% of the times, it can break anytime for other prompts as well.
I think its the main reason people are sharing reponses with you rather than curl.
I hope you understand. Please see if there is some mechanism that will help you to check these cases.