Skip to content

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

refactor(agent): update queued_turn serialization and imports

Steven Enamakelcdd3919fbb62
diff --git a/crates/openhuman-core/src/agent/queued_turn.rs b/crates/openhuman-core/src/agent/queued_turn.rs
index 72cec4f3cb..c1b589a319 100644
--- a/crates/openhuman-core/src/agent/queued_turn.rs
+++ b/crates/openhuman-core/src/agent/queued_turn.rs
@@ -61,7 +61,10 @@ impl std::fmt::Debug for QueuedPayload {
.field("queued_at_ms", &self.queued_at_ms)
.field("has_trusted_turn", &self.trusted_turn.is_some())
.field("has_stored_attachments", &self.stored_attachments.is_some())
- .field("has_pending_attachments", &self.pending_attachments.is_some())
+ .field(
+ "has_pending_attachments",
+ &self.pending_attachments.is_some(),
+ )
.finish_non_exhaustive()
}
}
diff --git a/crates/openhuman-core/src/web_chat/ops/channel_ops.rs b/crates/openhuman-core/src/web_chat/ops/channel_ops.rs
index d5f9d8eac6..b95419e417 100644
--- a/crates/openhuman-core/src/web_chat/ops/channel_ops.rs
+++ b/crates/openhuman-core/src/web_chat/ops/channel_ops.rs
@@ -13,8 +13,8 @@ use crate::web_chat::WebChannelEvent;
use super::super::event_bus::publish_web_channel_event_in;
use super::super::runner::{runtime, scope_of, CancelNote};
use super::super::types::ChatRequestMetadata;
-use crate::agent::queued_turn::StoredAttachmentInput;
use super::start_chat::start_chat_with_stored_attachments;
+use crate::agent::queued_turn::StoredAttachmentInput;
/// Cancel the in-flight turn(s) for a thread.
///