Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(middleware): remove stray closing brace in ToolOutputMiddleware\n\nA misplaced closing brace was removed from the ToolOutputMiddleware implementation, which was causing a syntax error that prevented the subsequent `wrap_tool` function from being parsed correctly.\n\nAuto-committed-on: dragonfly\n

Steven Enamakel1960ccd64880
diff --git a/src/openhuman/agent/tinyagents/middleware_part_02.rs b/src/openhuman/agent/tinyagents/middleware_part_02.rs
index 477695e937..b86f77a282 100644
--- a/src/openhuman/agent/tinyagents/middleware_part_02.rs
+++ b/src/openhuman/agent/tinyagents/middleware_part_02.rs
@@ -237,7 +237,6 @@ impl Middleware<()> for ToolOutputMiddleware {
Ok(())
}
-}
/// `wrap_tool`: route OpenHuman's human-in-the-loop **approval gate** through a
/// named tinyagents tool middleware (issue #4249, Phase 1). A tool with an