diff options
| author | Louis Jimenez <[email protected]> | 2025-06-20 00:39:15 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-20 00:39:15 -0400 |
| commit | 6c6761862427279455256e7c99cc45a2f17583ca (patch) | |
| tree | 533b652f88bef336c76992db34dd6d0a42a38413 /packages/cli/src/ui/hooks/useGeminiStream.ts | |
| parent | ea63a8401e6558bdd67d556812ed065b4bb07e9e (diff) | |
Make checkpoints configurable in settings.json (#1251)
Diffstat (limited to 'packages/cli/src/ui/hooks/useGeminiStream.ts')
| -rw-r--r-- | packages/cli/src/ui/hooks/useGeminiStream.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/cli/src/ui/hooks/useGeminiStream.ts b/packages/cli/src/ui/hooks/useGeminiStream.ts index 86c35836..234652db 100644 --- a/packages/cli/src/ui/hooks/useGeminiStream.ts +++ b/packages/cli/src/ui/hooks/useGeminiStream.ts @@ -638,7 +638,7 @@ export const useGeminiStream = ( useEffect(() => { const saveRestorableToolCalls = async () => { - if (!config.getCheckpointEnabled()) { + if (!config.getCheckpointingEnabled()) { return; } const restorableToolCalls = toolCalls.filter( @@ -649,8 +649,8 @@ export const useGeminiStream = ( ); if (restorableToolCalls.length > 0) { - const checkpointDir = config.getGeminiDir() - ? path.join(config.getGeminiDir(), 'checkpoints') + const checkpointDir = config.getProjectTempDir() + ? path.join(config.getProjectTempDir(), 'checkpoints') : undefined; if (!checkpointDir) { |
