fi: import type errors

This commit is contained in:
mingholy.lmh 2025-09-15 14:26:01 +08:00
parent f3cf732493
commit e9b423b43a
29 changed files with 289 additions and 282 deletions

View file

@ -194,9 +194,9 @@ export const ToolMessage: React.FC<ToolMessageProps> = ({
}) => {
const availableHeight = availableTerminalHeight
? Math.max(
availableTerminalHeight - STATIC_HEIGHT - RESERVED_LINE_COUNT,
MIN_LINES_SHOWN + 1, // enforce minimum lines shown
)
availableTerminalHeight - STATIC_HEIGHT - RESERVED_LINE_COUNT,
MIN_LINES_SHOWN + 1, // enforce minimum lines shown
)
: undefined;
// Long tool call response in MarkdownDisplay doesn't respect availableTerminalHeight properly,