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
style: reformat long expressions to satisfy line width
Steven Enamakel02cf6d92786b
diff --git a/crates/openhuman-core/src/storage/import/sessions.rs b/crates/openhuman-core/src/storage/import/sessions.rsindex f45a178424..a943af6ef1 100644--- a/crates/openhuman-core/src/storage/import/sessions.rs+++ b/crates/openhuman-core/src/storage/import/sessions.rs@@ -377,8 +377,8 @@ fn decode_display_message(value: &serde_json::Value,sanitized_system: &mut bool,) -> Result<DisplayMessage> {- let mut message: TranscriptMessage = serde_json::from_value(value.clone())- .context("decode transcript message")?;+ let mut message: TranscriptMessage =+ serde_json::from_value(value.clone()).context("decode transcript message")?;let row_version = value.get("v").and_then(serde_json::Value::as_u64)@@ -452,7 +452,11 @@ fn decode_display_message(.get("reasoning_content").and_then(serde_json::Value::as_str).map(str::to_owned)- .or_else(|| turn_usage.as_ref().and_then(|usage| usage.reasoning_content.clone()));+ .or_else(|| {+ turn_usage+ .as_ref()+ .and_then(|usage| usage.reasoning_content.clone())+ });Ok(DisplayMessage {interrupted: value.get("interrupted")diff --git a/crates/openhuman-core/src/threads/transcript_host_tests.rs b/crates/openhuman-core/src/threads/transcript_host_tests.rsindex c6e61bd80d..9827b78ab3 100644--- a/crates/openhuman-core/src/threads/transcript_host_tests.rs+++ b/crates/openhuman-core/src/threads/transcript_host_tests.rs@@ -321,7 +321,9 @@ fn calls_recorded_after_their_results_project_as_settled() {.transcripts;crate::storage::import::sessions::import_transcript_groups(provider.as_ref(), dir.path()).unwrap();- let listed = locator.thread_transcripts(thread, None).expect("imported roots");+ let listed = locator+ .thread_transcripts(thread, None)+ .expect("imported roots");assert_eq!(listed.roots.len(), 1);for root in &listed.roots {let display = root.transcript.read_display().unwrap().unwrap();@@ -334,10 +336,7 @@ fn calls_recorded_after_their_results_project_as_settled() {message.message.tool_calls.is_empty(),"legacy text-dialect calls belong to turn usage, not the typed native-call field");- assert_eq!(- message.turn_usage.as_ref().unwrap().tool_calls.len(),- 2- );+ assert_eq!(message.turn_usage.as_ref().unwrap().tool_calls.len(), 2);}}}