Skip to content

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

fix(flows): handle null node summary gracefully

Steven Enamakela67e3054d492
diff --git a/app/src/lib/flows/nodeSummary.ts b/app/src/lib/flows/nodeSummary.ts
index 275532d8f2..02e6e3bd07 100644
--- a/app/src/lib/flows/nodeSummary.ts
+++ b/app/src/lib/flows/nodeSummary.ts
@@ -27,7 +27,7 @@ function num(config: Record<string, unknown>, key: string): number | undefined {
}
function truncate(value: string, max = 52): string {
- return value.length > max ? `${value.slice(0, max - 1)}…` : value;
+ return truncateText(value, max);
}
/**