diff options
| author | Leo <[email protected]> | 2025-06-08 18:56:58 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-08 10:56:58 -0700 |
| commit | 9efca40dae2e75477af1a20df4e3e65bf8dfe93d (patch) | |
| tree | 39e10eef42ddfd4b9c73b7c2410dd5bccb5ed900 /packages/cli/src/ui/components/HistoryItemDisplay.tsx | |
| parent | 584286cfd9b53eee8f1189a3ad98462c77eb8fb9 (diff) | |
feat: Add flow to allow modifying edits during edit tool call (#808)
Diffstat (limited to 'packages/cli/src/ui/components/HistoryItemDisplay.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/HistoryItemDisplay.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/cli/src/ui/components/HistoryItemDisplay.tsx b/packages/cli/src/ui/components/HistoryItemDisplay.tsx index 39cc5308..5ab6b3c9 100644 --- a/packages/cli/src/ui/components/HistoryItemDisplay.tsx +++ b/packages/cli/src/ui/components/HistoryItemDisplay.tsx @@ -15,17 +15,20 @@ import { ToolGroupMessage } from './messages/ToolGroupMessage.js'; import { GeminiMessageContent } from './messages/GeminiMessageContent.js'; import { Box } from 'ink'; import { AboutBox } from './AboutBox.js'; +import { Config } from '@gemini-cli/core'; interface HistoryItemDisplayProps { item: HistoryItem; availableTerminalHeight: number; isPending: boolean; + config?: Config; } export const HistoryItemDisplay: React.FC<HistoryItemDisplayProps> = ({ item, availableTerminalHeight, isPending, + config, }) => ( <Box flexDirection="column" key={item.id}> {/* Render standard message types */} @@ -60,6 +63,7 @@ export const HistoryItemDisplay: React.FC<HistoryItemDisplayProps> = ({ toolCalls={item.tools} groupId={item.id} availableTerminalHeight={availableTerminalHeight} + config={config} /> )} </Box> |
