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
chore: files changed src/core/jsonrpc_tests.rs,src/openhuman/agent/dispatcher.rs
Steven Enamakel9a4d1fae917e
diff --git a/src/core/jsonrpc_tests.rs b/src/core/jsonrpc_tests.rsindex 2da2f7544e..55d11756fc 100644--- a/src/core/jsonrpc_tests.rs+++ b/src/core/jsonrpc_tests.rs@@ -7,7 +7,7 @@ use std::time::Duration;use tokio_util::sync::CancellationToken;use super::{- default_state, group_first_time, group_first_time_when_bus_ready, invoke_method,+ default_state, group_first_time_when_bus_ready, invoke_method,is_session_expired_error, is_unconfirmed_unauthorized_error,learning_first_time_when_bus_ready, params_to_object, parse_json_params, type_name,DomainSubscriberPlan,diff --git a/src/openhuman/agent/dispatcher.rs b/src/openhuman/agent/dispatcher.rsindex 7824e50f38..1394c69eb0 100644--- a/src/openhuman/agent/dispatcher.rs+++ b/src/openhuman/agent/dispatcher.rs@@ -163,6 +163,7 @@ fn to_outcomes(results: &[ToolExecutionResult]) -> Vec<ToolOutcome> {output: result.output.clone(),success: result.success,tool_call_id: result.tool_call_id.clone(),+ trusted_verbatim: false,}).collect()}@@ -188,6 +189,7 @@ fn to_transcript_entry(message: &ConversationMessage) -> TranscriptEntry {.map(|result| ToolResultEntry {tool_call_id: result.tool_call_id.clone(),content: result.content.clone(),+ trusted_verbatim: false,}).collect(),),@@ -290,7 +292,18 @@ fn dispatch_format_results(dialect: &dyn ToolDialect,results: &[ToolExecutionResult],) -> ConversationMessage {- from_transcript_entry(dialect.format_results(&to_outcomes(results)))+ let entries = dialect.format_results(&to_outcomes(results));+ debug_assert_eq!(+ entries.len(),+ 1,+ "OpenHuman tool results must remain a single conversation message"+ );+ from_transcript_entry(+ entries+ .into_iter()+ .next()+ .expect("tool result formatting must produce a message"),+ )}fn dispatch_provider_messages(