pub fn handle_error(
state: SharedMistralRsState,
e: Box<dyn Error + Send + Sync + 'static>,
) -> ChatCompletionResponder
Expand description
Handle route / generation errors and logging them.
pub fn handle_error(
state: SharedMistralRsState,
e: Box<dyn Error + Send + Sync + 'static>,
) -> ChatCompletionResponder
Handle route / generation errors and logging them.