feat: parallel tool calling (#75)

This commit is contained in:
Charles Packer
2025-11-07 15:02:37 -08:00
committed by GitHub
parent ea313159ce
commit 36495810ef
9 changed files with 651 additions and 312 deletions

View File

@@ -126,7 +126,11 @@ export const ToolCallMessage = memo(({ line }: { line: ToolCallLine }) => {
}
// Truncate the result text for display (UI only, API gets full response)
const displayResultText = clipToolReturn(line.resultText);
// Strip trailing newlines to avoid extra visual spacing (e.g., from bash echo)
const displayResultText = clipToolReturn(line.resultText).replace(
/\n+$/,
"",
);
// Check if this is a todo_write tool with successful result
// Check both the raw name and the display name