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(scripts): handle missing prompt in breakdown script
Steven Enamakel697588b1b363
diff --git a/scripts/debug/prompt-breakdown.mjs b/scripts/debug/prompt-breakdown.mjsindex 4f183abab6..bf9aba1d28 100644--- a/scripts/debug/prompt-breakdown.mjs+++ b/scripts/debug/prompt-breakdown.mjs@@ -240,8 +240,7 @@ function report(a, opts) {}w('');- w(`== tool schemas, largest first (top ${opts.top} of ${a.tools.length})`);- w(`${''.padStart(22)}desc params name`);+ w(`== tool schemas, largest first (${Math.min(opts.top, a.tools.length)} of ${a.tools.length})`);for (const t of [...a.tools].sort((x, y) => y.tokens - x.tokens).slice(0, opts.top)) {w(fmtRow(t.name, t.tokens, totals.all, scale, ` [desc ${t.description} / params ${t.parameters}]`));}