first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
-1
View File
@@ -728,7 +728,6 @@ fn ensure_starts_with_user_message(messages: &mut Vec<ConversationMessage>) {
/// 4. Removes trailing assistant tool_use messages that have no following user message.
/// 5. Ensures strict user/assistant role alternation.
fn ensure_tool_results_paired(messages: &mut Vec<ConversationMessage>) {
use std::collections::HashSet;
// Collect all tool_result IDs that exist anywhere in the conversation.
let mut all_result_ids = HashSet::new();