feat: automatic /model persistence across Gemini CLI sessions (#13199)

Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
This commit is contained in:
Niyas Hameed
2025-12-23 19:53:43 +05:30
committed by GitHub
parent 66fab0bea2
commit a1edecaf30
7 changed files with 48 additions and 6 deletions
+2 -4
View File
@@ -25,13 +25,11 @@ import { ExtensionManager } from './extension-manager.js';
import { RESUME_LATEST } from '../utils/sessionUtils.js';
vi.mock('./trustedFolders.js', () => ({
isWorkspaceTrusted: vi
.fn()
.mockReturnValue({ isTrusted: true, source: 'file' }), // Default to trusted
isWorkspaceTrusted: vi.fn(() => ({ isTrusted: true, source: 'file' })), // Default to trusted
}));
vi.mock('./sandboxConfig.js', () => ({
loadSandboxConfig: vi.fn().mockResolvedValue(undefined),
loadSandboxConfig: vi.fn(async () => undefined),
}));
vi.mock('fs', async (importOriginal) => {