Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(agent): simplify queued turn state merging

Steven Enamakel2e086561bc76
diff --git a/crates/openhuman-core/src/agent/queued_turn.rs b/crates/openhuman-core/src/agent/queued_turn.rs
index 536aeeb65d..31c1f60c0f 100644
--- a/crates/openhuman-core/src/agent/queued_turn.rs
+++ b/crates/openhuman-core/src/agent/queued_turn.rs
@@ -88,15 +88,6 @@ impl RequeuePayload for QueuedPayload {
if self.trusted_turn.is_none() {
self.trusted_turn.clone_from(&running.trusted_turn);
}
- self.deferred_user_message |= running.deferred_user_message;
- if self.pending_attachments.is_none() {
- self.pending_attachments
- .clone_from(&running.pending_attachments);
- }
- if self.stored_attachments.is_none() {
- self.stored_attachments
- .clone_from(&running.stored_attachments);
- }
if self.client_id.is_empty() {
self.client_id.clone_from(&running.client_id);
self.model_override.clone_from(&running.model_override);