Log yolo mode + number of turns (#6055)

Co-authored-by: Shi Shu <shii@google.com>
This commit is contained in:
shishu314
2025-08-25 16:06:47 -04:00
committed by GitHub
parent f32a54fefc
commit cd75d94262
9 changed files with 103 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ import {
TrackedCancelledToolCall,
} from './useReactToolScheduler.js';
import {
ApprovalMode,
Config,
EditorType,
AuthType,
@@ -194,6 +195,7 @@ describe('useGeminiStream', () => {
getProjectRoot: vi.fn(() => '/test/dir'),
getCheckpointingEnabled: vi.fn(() => false),
getGeminiClient: mockGetGeminiClient,
getApprovalMode: () => ApprovalMode.DEFAULT,
getUsageStatisticsEnabled: () => true,
getDebugMode: () => false,
addHistory: vi.fn(),