Skip to content

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

test(session_host): assert missing executor is a recoverable tool error

Steven Enamakelb02aa762492e
diff --git a/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs b/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs
index 1de61efd07..a3e87a6192 100644
--- a/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs
@@ -641,6 +641,7 @@ fn resumed_thread_with_retired_podcast_tool_remains_usable() {
let requests = serde_json::to_string(&next.requests()).expect("requests");
assert!(requests.contains("historical audio artifact"), "historical tool results replay");
assert!(requests.contains("retired-call"), "missing tool call is returned to the model");
+ assert!(requests.contains("unknown tool"), "missing executor is a recoverable tool error");
let config = crate::config::Config {
workspace_dir: workspace,