mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-18 17:20:38 -07:00
Add session subtask in /stats command (#13750)
This commit is contained in:
@@ -183,7 +183,8 @@ describe('useSlashCompletion', () => {
|
||||
createTestCommand({
|
||||
name: 'stats',
|
||||
altNames: ['usage'],
|
||||
description: 'check session stats. Usage: /stats [model|tools]',
|
||||
description:
|
||||
'check session stats. Usage: /stats [session|model|tools]',
|
||||
}),
|
||||
createTestCommand({ name: 'clear', description: 'Clear the screen' }),
|
||||
createTestCommand({
|
||||
@@ -282,7 +283,8 @@ describe('useSlashCompletion', () => {
|
||||
createTestCommand({
|
||||
name: 'stats',
|
||||
altNames: ['usage'],
|
||||
description: 'check session stats. Usage: /stats [model|tools]',
|
||||
description:
|
||||
'check session stats. Usage: /stats [session|model|tools]',
|
||||
}),
|
||||
];
|
||||
let result: {
|
||||
@@ -307,7 +309,8 @@ describe('useSlashCompletion', () => {
|
||||
{
|
||||
label: 'stats',
|
||||
value: 'stats',
|
||||
description: 'check session stats. Usage: /stats [model|tools]',
|
||||
description:
|
||||
'check session stats. Usage: /stats [session|model|tools]',
|
||||
commandKind: CommandKind.BUILT_IN,
|
||||
},
|
||||
]);
|
||||
@@ -360,7 +363,8 @@ describe('useSlashCompletion', () => {
|
||||
createTestCommand({
|
||||
name: 'stats',
|
||||
altNames: ['usage'],
|
||||
description: 'check session stats. Usage: /stats [model|tools]',
|
||||
description:
|
||||
'check session stats. Usage: /stats [session|model|tools]',
|
||||
action: vi.fn(),
|
||||
}),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user