BuildShipBBuildShip
Powered by
Szekeres GézaS
BuildShip•2y ago•
7 replies
Szekeres Géza

Streaming assistant in Loop

Hi, If I use the default OpenAI Assistant (Stream Response) node in Loop, it seems like it ain't wait the stream to finish and it submits the next message even if the first streaming (and run) is still running.. I works as single node, without loop, but in loop it gives multiple run error.. Please help!
image.png
Solution
@Gaurav Chadha I have updated your Streaming Assistant node, added Promise for Stream Handling and now the function assistant awaits the handleStream completion.. please check and consider update so others could use this as well:
message.txt4.04KB
Jump to solution
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Problem Streaming OpenAI Assistant
ArtusAArtus / ❓・buildship-help
2y ago
Streaming assistant showing json in chat widget
Tim StewartTTim Stewart / ❓・buildship-help
2y ago
FlutterFlow Streaming Assistant with Firestore
raj patelRraj patel / ❓・buildship-help
2y ago
streaming AI assistant + flutterflow & Firebase
VizualinxVVizualinx / ❓・buildship-help
2y ago