The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test: add missing test files for agent, flow, and thread modules
Steven Enamakelf94014032740
diff --git a/crates/openhuman-core/src/agent/agent_turn_loop_nudge_tests.rs b/crates/openhuman-core/src/agent/agent_turn_loop_nudge_tests.rsindex 8e10e2cbf2..884e2bd135 100644--- a/crates/openhuman-core/src/agent/agent_turn_loop_nudge_tests.rs+++ b/crates/openhuman-core/src/agent/agent_turn_loop_nudge_tests.rs@@ -217,7 +217,7 @@ fn committed_rows_mentioning_nudge(history: &[TranscriptEntry]) -> Vec<String> {.iter().filter_map(|m| match m {TranscriptEntry::Chat(chat) if chat.content.contains(NUDGE) => {- Some(format!("{}: {}", chat.role, chat.content))+ Some(format!("{}: {}", chat.role.as_str(), chat.content))}_ => None,})diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rsindex 1657843e05..25372ec955 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rs@@ -247,7 +247,7 @@ fn mirrored_tool_results_are_hidden_from_the_worker_thread_chat() {},TranscriptEntry::ToolResults(vec![tinytools_agent::dialect::ToolResultEntry {tool_call_id: "call-1".to_string(),- content: RAW.to_string(),+ content: RAW.to_string(), trusted_verbatim: false,}]),],Some("Here is your week."),diff --git a/crates/openhuman-core/src/flows/ops_builder_trail_off_tests.rs b/crates/openhuman-core/src/flows/ops_builder_trail_off_tests.rsindex 1ef907bfd0..978a933290 100644--- a/crates/openhuman-core/src/flows/ops_builder_trail_off_tests.rs+++ b/crates/openhuman-core/src/flows/ops_builder_trail_off_tests.rs@@ -175,7 +175,7 @@ fn extract_workflow_proposal_survives_large_graph() {let history = vec![TranscriptEntry::ToolResults(vec![ToolResultEntry {tool_call_id: "call-1".to_string(),- content: payload_str,+ content: payload_str, trusted_verbatim: false,}])];let proposal = extract_workflow_proposal(&history).expect("proposal should be extractable");@@ -199,11 +199,11 @@ fn extract_workflow_proposal_returns_the_latest_of_multiple_results() {let history = vec![TranscriptEntry::ToolResults(vec![ToolResultEntry {tool_call_id: "call-1".to_string(),- content: first.to_string(),+ content: first.to_string(), trusted_verbatim: false,}]),TranscriptEntry::ToolResults(vec![ToolResultEntry {tool_call_id: "call-2".to_string(),- content: second.to_string(),+ content: second.to_string(), trusted_verbatim: false,}]),];diff --git a/crates/openhuman-core/src/flows/ops_tests.rs b/crates/openhuman-core/src/flows/ops_tests.rsindex 4f0675c1d4..05b0d4f985 100644--- a/crates/openhuman-core/src/flows/ops_tests.rs+++ b/crates/openhuman-core/src/flows/ops_tests.rs@@ -600,7 +600,7 @@ fn builder_tool_result(use tinytools_agent::dialect::{ToolResultEntry, TranscriptEntry};TranscriptEntry::ToolResults(vec![ToolResultEntry {tool_call_id: call_id.to_string(),- content: content.to_string(),+ content: content.to_string(), trusted_verbatim: false,}])}diff --git a/crates/openhuman-core/src/threads/transcript_host_tests.rs b/crates/openhuman-core/src/threads/transcript_host_tests.rsindex 915b4bf694..5a6bdda752 100644--- a/crates/openhuman-core/src/threads/transcript_host_tests.rs+++ b/crates/openhuman-core/src/threads/transcript_host_tests.rs@@ -74,11 +74,11 @@ fn text_dialect_tool_turn_projects_calls_on_their_issuing_row_as_settled() {TranscriptEntry::ToolResults(vec![ToolResultEntry {tool_call_id: "call_web_search_1".into(),- content: "Search results for: rust async traits".into(),+ content: "Search results for: rust async traits".into(), trusted_verbatim: false,},ToolResultEntry {tool_call_id: "call_file_read_1".into(),- content: "unknown tool `file_read`".into(),+ content: "unknown tool `file_read`".into(), trusted_verbatim: false,},]),TranscriptEntry::Chat(TranscriptMessage::assistant("Here is what I found.")),