Skip to main content

check_error_should_terminate_stream

Function check_error_should_terminate_stream 

Source
fn check_error_should_terminate_stream(err: &ChatbotErrorType) -> bool
Expand description

These types of ChatbotErrors shouldn’t be shown to the user and are likely created from an unrecoverable error in our code that should make the stream fail.