From 0f8dbc69132602ced473f1525336e953e31047b5 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 14:12:06 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- crates/http-api-bindings/src/completion/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/http-api-bindings/src/completion/mod.rs b/crates/http-api-bindings/src/completion/mod.rs index c5b757d0d89..1da4e8ea08f 100644 --- a/crates/http-api-bindings/src/completion/mod.rs +++ b/crates/http-api-bindings/src/completion/mod.rs @@ -73,7 +73,7 @@ pub fn build_completion_prompt(model: &HttpModelConfig) -> (Option, Opti } } -fn split_fim_prompt<'a>(prompt: &'a str, support_fim: bool) -> (&'a str, Option<&'a str>) { +fn split_fim_prompt(prompt: &str, support_fim: bool) -> (&str, Option<&str>) { if support_fim { return (prompt, None); }