How to remove "Null" added to all returned open streams content
Hi, I’m currently developing a simple app using FlutterFlow, and I’ve implemented a streaming OpenAI call using a template. I’ve added the necessary keys for OpenAI and an assistant with Fileseach enabled. However, I’m encountering an issue where a Null value is being appended to the end of the stream content, and occasionally, a “Source” value is also included in the stream returned by the Buildship API. The “Source” value shouldn’t be mixed with the data, but it appears to be. How can I fix this and remove the Null values, as well as prevent the “Source” from being included in the stream?
Solution
@Rich91 If you add a new OpenAI Streaming node from the node explorer into your project and copy over the inputs from your old node to your new node, you shouldn't experience the null issue any longer. Let us know how you get on.
