Skip to content

Commit

Permalink
chore: fix clippy issue
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <[email protected]>
  • Loading branch information
apepkuss committed Aug 7, 2024
1 parent d6ab539 commit ad873c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/ggml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ impl MergeRagContext for RagPromptBuilder {
}
None => {
// compose new system message content
let content = format!("{}", context.trim_end());
let content = context.trim_end().to_string();
// create system message
ChatCompletionRequestMessage::new_system_message(content, None)
}
Expand Down

0 comments on commit ad873c7

Please sign in to comment.