I recently integrated streaming to my web app that uses the assistants API. The Streaming was working fine for about a day, and once I have added a function to replace file citations, the response is not being fully returned by API in the web app, but in the playground. What might be the issue?
P.S - the streaming and assistants logic was implemented as seen in the official vercel next.js AI SDK