This commit is contained in:
Ahmed Ibrahim
2025-10-16 17:19:36 -07:00
parent 0cf9bd6aa7
commit 2994b63fe5

View File

@@ -220,7 +220,7 @@ fn trim_recent_history_to_previous_user_message(
}) {
turn_input.split_off(last_user_index)
} else {
turn_input.drain(..).collect()
std::mem::take(turn_input)
}
}