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: apply rustfmt formatting to langfuse export code
Steven Enamakelb7d228ba0d8f
diff --git a/crates/openhuman-core/src/flows/tinyflows/langfuse_export.rs b/crates/openhuman-core/src/flows/tinyflows/langfuse_export.rsindex a620d11296..761d44e177 100644--- a/crates/openhuman-core/src/flows/tinyflows/langfuse_export.rs+++ b/crates/openhuman-core/src/flows/tinyflows/langfuse_export.rs@@ -244,8 +244,7 @@ pub async fn export_flow_run_trace(}Ok::<(), tinyagents_harness::TinyAgentsError>(())};- match tokio::time::timeout(PUSH_TIMEOUT, send).await- {+ match tokio::time::timeout(PUSH_TIMEOUT, send).await {Ok(Ok(_)) => {tracing::debug!(target: LOG_TARGET,diff --git a/crates/openhuman-core/src/flows/tinyflows/langfuse_export_tests.rs b/crates/openhuman-core/src/flows/tinyflows/langfuse_export_tests.rsindex 39be0dd258..50dc874b2f 100644--- a/crates/openhuman-core/src/flows/tinyflows/langfuse_export_tests.rs+++ b/crates/openhuman-core/src/flows/tinyflows/langfuse_export_tests.rs@@ -86,12 +86,17 @@ fn ingestion_url_targets_backend_proxy_route() {fn flow_export_targets_the_v4_otlp_proxy_route() {let mut config = Config::default();config.api_url = Some("https://staging-api.tinyhumans.ai/api/v1".to_string());- let client = LangfuseClient::new(ingestion_url(&config), LangfuseAuth::Bearer {- token: "tok".to_string(),- })+ let client = LangfuseClient::new(+ ingestion_url(&config),+ LangfuseAuth::Bearer {+ token: "tok".to_string(),+ },+ ).expect("client");assert_eq!(- build_flow_exporter(client, "flow-1").client().otlp_endpoint(),+ build_flow_exporter(client, "flow-1")+ .client()+ .otlp_endpoint(),"https://staging-api.tinyhumans.ai/telemetry/langfuse/otel/v1/traces");}@@ -133,7 +138,9 @@ fn otlp_flow_trace_puts_flow_attributes_on_every_span() {resource["resource"]["attributes"][0]["value"]["stringValue"],"openhuman");- let spans = resource["scopeSpans"][0]["spans"].as_array().expect("spans");+ let spans = resource["scopeSpans"][0]["spans"]+ .as_array()+ .expect("spans");assert!(spans.len() >= 3, "run, step and node spans");for span in spans {assert_eq!(