Function handle_chat_completion_error

Source
pub fn handle_chat_completion_error(
    state: SharedMistralRsState,
    e: Box<dyn Error + Send + Sync + 'static>,
) -> ChatCompletionResponder
Expand description

Helper function to handle chat completion errors and logging them.