Skip to content

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

test(session_host): mark retired tool permanent in transcript compat test

Steven Enamakeled606a6fee5e
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 e8b94673a7..85b8961690 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
@@ -621,6 +621,7 @@ fn resumed_thread_with_retired_podcast_tool_remains_usable() {
let mut first = crate::agent::SessionHostBuilder::new()
.chat_model(chat_model)
.tools(vec![Box::new(ArchivedAudioTool)])
+ .permanent_tool_names(std::collections::HashSet::from([RETIRED.to_string()]))
.workspace_dir(workspace.clone())
.action_dir(root.path().to_path_buf())
.tool_dispatcher(Box::new(tinytools_agent::dialect::NativeDialect))