Make clippy happy

This commit is contained in:
Kerollmops 2025-06-10 13:51:04 +02:00
parent c640856cc1
commit ae115cee78
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -310,7 +310,7 @@ async fn non_streamed_chat(
index_scheduler.features().check_chat_completions("using the /chats chat completions route")?;
return Err(ResponseError::from_msg(
format!("Non-streamed chat completions is not implemented"),
"Non-streamed chat completions is not implemented".to_string(),
Code::UnimplementedNonStreamingChatCompletions,
));