hemax99#epicH
BuildShip15mo ago
5 replies
hemax99#epic

Why would my streaming API call to Open AI only return this?

I'm using the template provided by Buildship and I've adjusted the API key and Assistant ID to match mine. Then, I'm passing the parameters to it through the body when testing. However, no data is being returned. If I chat with the assistant directly in the playground I have no problem. Please help! I've been stuck for three days.
🤬

Error and code below...

{
"_read": "fun0ction(){}",
"_readableState": {
"buffer": [],
"pipes": [],
"bufferIndex": 0,
"length": 0,
"highWaterMark": 16384,
"awaitDrainWriters": null
},
"_events": {
"error": "function () { [native code] }"
},
"_eventsCount": 1
}

Code attached.
Solution
Hi @hemax99#epic Streaming Assistant won't work in Test Mode, you'll be required to ship the workflow and then test it on your client-side (frontend) or use BuildShip's chat widget to verify streaming, also ensure you enable streaming in the chat widget. You can refer to this video - https://www.youtube.com/watch?v=H4xx_7M0TDQ.

Also, please refrain from using such bad emojis in the request. 🙂
Was this page helpful?