Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Oct 29, 2024
1 parent 638b6cd commit 0f8dbc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/http-api-bindings/src/completion/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub fn build_completion_prompt(model: &HttpModelConfig) -> (Option<String>, 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);
}
Expand Down

0 comments on commit 0f8dbc6

Please sign in to comment.