AI Agent streamin response is givng undefined text between answer

Hi Everyone,

I am trying to stream the AI agent response on my website embedded chat. It is giving me answer but in between there is undefinded text written such as:

“let me query the inventory to see what models we have available.undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedHere’s the current stock availability for “

Can you tell me how to fix this issue?

1 Like

Hi,

I’ve experienced the same problem, but I figured out that it only happens when I use Claude as the agent.
I just tried it with OpenAI and Mistral and it worked fine.

Yes, same, I changed to OpenAI and the problem was solved