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
refactor(cost): use sort_by_key for timestamp ordering
Steven Enamakel8449a08b12e7
diff --git a/crates/openhuman-core/src/platform/cost/tracker.rs b/crates/openhuman-core/src/platform/cost/tracker.rsindex de37b08652..672a54c84d 100644--- a/crates/openhuman-core/src/platform/cost/tracker.rs+++ b/crates/openhuman-core/src/platform/cost/tracker.rs@@ -277,7 +277,7 @@ impl CostTracker {records.push(record);}})?;- records.sort_by(|a, b| a.usage.timestamp.cmp(&b.usage.timestamp));+ records.sort_by_key(|record| record.usage.timestamp);Ok(records)}