mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-09 04:41:19 -07:00
Switch back to truncating headers. Unfortunately we have too many headers that are 10+ lines for no good reason so we need to add back this truncation until we fix them. (#13018)
This commit is contained in:
@@ -202,17 +202,20 @@ describe('<ToolGroupMessage />', () => {
|
||||
unmount();
|
||||
});
|
||||
|
||||
it('renders sticky header when scrolled', () => {
|
||||
it('renders header when scrolled', () => {
|
||||
const toolCalls = [
|
||||
createToolCall({
|
||||
callId: '1',
|
||||
name: 'tool-1',
|
||||
description: 'Description 1\n'.repeat(5),
|
||||
description:
|
||||
'Description 1. This is a long description that will need to be truncated if the terminal width is small.',
|
||||
resultDisplay: 'line1\nline2\nline3\nline4\nline5',
|
||||
}),
|
||||
createToolCall({
|
||||
callId: '2',
|
||||
name: 'tool-2',
|
||||
description: 'Description 2\n'.repeat(5),
|
||||
description: 'Description 2',
|
||||
resultDisplay: 'line1\nline2',
|
||||
}),
|
||||
];
|
||||
const { lastFrame, unmount } = renderWithProviders(
|
||||
|
||||
Reference in New Issue
Block a user