Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2026-02-11 09:35:24 -05:00
committed by GitHub
parent 544bc1bc4f
commit f636a97faa
81 changed files with 109 additions and 110 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ impl<'a> IntoIterator for &'a Conversation {
}
}
/// Fix a conversation that we're about to send to an LLM. So the last and first
/// Fix a conversation that we're about to send to an LLM. So the first and last
/// messages should always be from the user.
pub fn fix_conversation(conversation: Conversation) -> (Conversation, Vec<String>) {
let all_messages = conversation.messages();