diff --git a/crates/mind-body/src/projection/interpret.rs b/crates/mind-body/src/projection/interpret.rs index f8565e6..db59edf 100644 --- a/crates/mind-body/src/projection/interpret.rs +++ b/crates/mind-body/src/projection/interpret.rs @@ -840,7 +840,7 @@ pub(crate) fn decide_in(model: &dyn Model, segment_id: &str, packet: &Packet, na if let Some(reason) = failed { call["failed"] = json!(reason); } - decision["calls"].as_array_mut().into_iter().for_each(|calls| calls.push(call)); + decision["calls"].as_array_mut().into_iter().for_each(|calls| calls.push(call.clone())); decision["memory_retried"] = json!(again.iter().map(|(text, reason)| json!({ "text": text, "reason": reason })).collect::>()); match second { Some(second) => {