ai icon indicating copy to clipboard operation
ai copied to clipboard

handling errors in the streaming response

Open avianion opened this issue 11 months ago • 1 comments

Description

When handling errors in the stream, it breaks the entire stream and gives an error coming.

Is there a better way to do this?

Because it removes the ability to retry and just ends up in a user facing error.

Code example

error

Additional context

No response

avianion avatar Apr 02 '24 21:04 avianion

Can you share the code / function that is causing this?

lgrammel avatar Sep 19 '24 16:09 lgrammel