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
fix(agent): handle tool output with no content
Steven Enamakelce7223740c42
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/tool_output.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/tool_output.rsindex 68c5421b3b..7e9e9e1d9f 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware/tool_output.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/tool_output.rs@@ -406,8 +406,8 @@ impl Middleware<(), crate::agent::tinyagents::host::OpenHumanRunContext> for Toolet after_bytes = content.len();if after_bytes < before_bytes {ctx.emit(AgentEvent::Compressed {- from_tokens: estimate_output_tokens(before_bytes),- to_tokens: estimate_output_tokens(after_bytes),+ from_tokens: before_tokens,+ to_tokens: estimate_output_tokens(&content),});}}