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.
pub fn handle_chat_completion_error(
state: SharedMistralRsState,
e: Box<dyn Error + Send + Sync + 'static>,
) -> ChatCompletionResponder
Helper function to handle chat completion errors and logging them.