fix: prevent approval from reappearing after interrupt during execution (#571)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-01-16 19:14:39 -08:00
committed by GitHub
parent 0750281d13
commit 28943757a3
4 changed files with 65 additions and 6 deletions

View File

@@ -23,10 +23,13 @@ export const StreamingOutputDisplay = memo(
const { tailLines, totalLineCount } = streaming;
const hiddenCount = Math.max(0, totalLineCount - tailLines.length);
// No output yet - don't show anything
const firstLine = tailLines[0];
if (!firstLine) {
return null;
return (
<Box>
<Text dimColor>{` ⎿ Running... (${elapsed}s)`}</Text>
</Box>
);
}
return (