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
chore: simplify match arm formatting in ToolsSection
Steven Enamakeleebaefdba135
diff --git a/crates/openhuman-core/src/agent/prompts/sections.rs b/crates/openhuman-core/src/agent/prompts/sections.rsindex e1cc4f0500..773271a43d 100644--- a/crates/openhuman-core/src/agent/prompts/sections.rs+++ b/crates/openhuman-core/src/agent/prompts/sections.rs@@ -396,9 +396,7 @@ impl PromptSection for ToolsSection {// signature catalogue as well listed every tool twice — 13 KB of// P-Format signatures on top of 28 KB of schemas for the orchestrator.let mut out = match ctx.tool_call_format {- ToolCallFormat::Json if !ctx.dispatcher_instructions.trim().is_empty() => {- String::new()- }+ ToolCallFormat::Json if !ctx.dispatcher_instructions.trim().is_empty() => String::new(),format => match format.code_style() {Some(style) => tinytools_agent::render::render_code_catalogue(&visible, style),None => render_pformat_catalogue(&visible),