mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
Always show the tool internal name in /tools (#12964)
This commit is contained in:
committed by
GitHub
parent
4d85ce40be
commit
0075b4f118
@@ -32,8 +32,7 @@ export const ToolsList: React.FC<ToolsListProps> = ({
|
||||
<Text color={theme.text.primary}>{' '}- </Text>
|
||||
<Box flexDirection="column">
|
||||
<Text bold color={theme.text.accent}>
|
||||
{tool.displayName}
|
||||
{showDescriptions ? ` (${tool.name})` : ''}
|
||||
{tool.displayName} ({tool.name})
|
||||
</Text>
|
||||
{showDescriptions && tool.description && (
|
||||
<MarkdownDisplay
|
||||
|
||||
@@ -25,8 +25,8 @@ exports[`<ToolsList /> > renders correctly with no tools 1`] = `
|
||||
exports[`<ToolsList /> > renders correctly without descriptions 1`] = `
|
||||
"Available Gemini CLI tools:
|
||||
|
||||
- Test Tool One
|
||||
- Test Tool Two
|
||||
- Test Tool Three
|
||||
- Test Tool One (test-tool-one)
|
||||
- Test Tool Two (test-tool-two)
|
||||
- Test Tool Three (test-tool-three)
|
||||
"
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user