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(runStepSummary): replace inline truncation with shared utility
Steven Enamakel47a390e03afc
diff --git a/app/src/lib/flows/runStepSummary.ts b/app/src/lib/flows/runStepSummary.tsindex 4a5f1bee5d..2479e282df 100644--- a/app/src/lib/flows/runStepSummary.ts+++ b/app/src/lib/flows/runStepSummary.ts@@ -47,8 +47,7 @@ interface StepSummary {const MAX_SUMMARY_CHARS = 180;function truncate(text: string): string {- const trimmed = text.trim();- return trimmed.length > MAX_SUMMARY_CHARS ? `${trimmed.slice(0, MAX_SUMMARY_CHARS)}…` : trimmed;+ return truncateText(text, MAX_SUMMARY_CHARS, { trim: true });}/** Read a string field off a plain object, ignoring blank/non-string values. */