Skip to content

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

chore(web_chat): add progress tests and update tinychannels vendor

Steven Enamakel02c75d66af16
diff --git a/crates/openhuman-core/src/web_chat/progress_tests.rs b/crates/openhuman-core/src/web_chat/progress_tests.rs
index aaf6f0e37a..5c1c0d7ee6 100644
--- a/crates/openhuman-core/src/web_chat/progress_tests.rs
+++ b/crates/openhuman-core/src/web_chat/progress_tests.rs
@@ -1,4 +1,5 @@
use super::*;
+use crate::web_chat::WebChannelEvent;
use crate::agent::progress::AgentProgress;
use crate::config::Config;
use std::time::Duration;
@@ -143,12 +144,16 @@ async fn tool_call_completed_forwards_real_output_on_tool_result() {
assert_eq!(event.tool_call_id.as_deref(), Some("call-1"));
}
-// ── #4270 inference heartbeat ────────────────────────────────────────────
+fn drain_test_config(tmp: &tempfile::TempDir) -> Config {
+ Config {
+ workspace_dir: tmp.path().join("workspace"),
+ action_dir: tmp.path().join("workspace"),
+ config_path: tmp.path().join("config.toml"),
+ ..Default::default()
+ }
+}
-use crate::agent::progress::AgentProgress;
-use crate::config::Config;
-use std::time::Duration;
-use tokio::sync::broadcast::error::TryRecvError;
+// ── #4270 inference heartbeat ────────────────────────────────────────────
/// Await the next web-channel event published for `thread_id`, skipping
/// events for other threads (the bus is a process-global broadcast) and
diff --git a/vendor/tinychannels b/vendor/tinychannels
index 9f4318ebf9..783b8e36cd 160000
--- a/vendor/tinychannels
+++ b/vendor/tinychannels
@@ -1 +1 @@
-Subproject commit 9f4318ebf96d882e75c040e950b7a7108e7c37e1
+Subproject commit 783b8e36cdb978cb8a4cd54bd8046d64efc9e893