mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-08 09:06:48 -07:00
revert(core): restore intentional ReadFolder display behavior (result: null)
This commit is contained in:
@@ -288,14 +288,6 @@ class LSToolInvocation extends BaseToolInvocation<LSToolParams, ToolResult> {
|
|||||||
name: LS_DISPLAY_NAME,
|
name: LS_DISPLAY_NAME,
|
||||||
description: this.getDescription(),
|
description: this.getDescription(),
|
||||||
resultSummary: displayMessage,
|
resultSummary: displayMessage,
|
||||||
result: {
|
|
||||||
type: 'text',
|
|
||||||
text: entries
|
|
||||||
.map(
|
|
||||||
(entry) => `${entry.isDirectory ? '[DIR] ' : ''}${entry.name}`,
|
|
||||||
)
|
|
||||||
.join('\n'),
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
returnDisplay: {
|
returnDisplay: {
|
||||||
summary: displayMessage,
|
summary: displayMessage,
|
||||||
|
|||||||
Reference in New Issue
Block a user