Skip to content

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

test(channels): update runtime test assertions

Steven Enamakel22d772322f26
diff --git a/crates/openhuman-core/src/channels/routes_tests.rs b/crates/openhuman-core/src/channels/routes_tests.rs
index be2ac28bec..71f0cf9724 100644
--- a/crates/openhuman-core/src/channels/routes_tests.rs
+++ b/crates/openhuman-core/src/channels/routes_tests.rs
@@ -654,7 +654,7 @@ async fn handle_runtime_command_telegram_new_status_and_sessions_round_trip() {
assert!(sent[1].content.contains("Thread: `Telegram"));
assert!(sent[1].content.contains("Provider: `anthropic`"));
assert!(sent[1].content.contains("Model: `claude-3`"));
- assert!(sent[1].content.contains("In-memory turns: 1"));
+ assert!(sent[1].content.contains("Session turns: 0"));
assert!(sent[1].content.contains("Turn: in progress"));
assert!(sent[2].content.contains("**Recent sessions**"));
diff --git a/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs b/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs
index f18565d66e..b6af6b138f 100644
--- a/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs
+++ b/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs
@@ -3,6 +3,7 @@ use super::super::context::{
CHANNEL_MESSAGE_TIMEOUT_SECS,
};
use super::super::runtime::process_channel_message;
+use super::super::runtime::test_support::linked_telegram_runtime;
use super::common::{
IterativeToolModel, MockPriceTool, ModelCaptureModel, RecordingChannel, ToolCallingModel,
};