Skip to content

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

feat(web_chat): add types module for web chat functionality

Steven Enamakel2e8dc28475a6
diff --git a/crates/openhuman-core/src/web_chat/types.rs b/crates/openhuman-core/src/web_chat/types.rs
index 854d9ce606..0219265c52 100644
--- a/crates/openhuman-core/src/web_chat/types.rs
+++ b/crates/openhuman-core/src/web_chat/types.rs
@@ -178,6 +178,13 @@ pub(super) struct WebQueueParams {
pub(super) thread_id: String,
}
+#[derive(Debug, Deserialize)]
+pub(super) struct WebQueueRemoveParams {
+ pub(super) client_id: String,
+ pub(super) thread_id: String,
+ pub(super) item_id: String,
+}
+
#[derive(Debug, Deserialize)]
pub(super) struct WebCancelParams {
pub(super) client_id: String,