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); }