Merge pull request #2388 from QwenLM/fix/remove-enableToolOutputTruncation-setting

fix(core): improve shell tool truncation, simplify tool output handling, and remove summarization
This commit is contained in:
tanzhenxin 2026-03-16 09:51:37 +08:00 committed by GitHub
commit 58bee3dec9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 520 additions and 824 deletions

View file

@ -6,7 +6,7 @@
import type React from 'react';
import { useMemo } from 'react';
import { Box, Text } from 'ink';
import { Box } from 'ink';
import type { IndividualToolCallDisplay } from '../../types.js';
import { ToolCallStatus } from '../../types.js';
import { ToolMessage } from './ToolMessage.js';
@ -136,13 +136,6 @@ export const ToolGroupMessage: React.FC<ToolGroupMessageProps> = ({
contentWidth={innerWidth}
/>
)}
{tool.outputFile && (
<Box marginX={1}>
<Text color={theme.text.primary}>
Output too long and was saved to: {tool.outputFile}
</Text>
</Box>
)}
</Box>
);
})}