Download packages/cli/src/utils/autoMemory.ts from SaylorTwift/gemini-cli: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/cli/src/utils/autoMemory.ts
- Command line
-
hf download hf://SaylorTwift/gemini-cli/packages/cli/src/utils/autoMemory.ts
-
curl -L -o autoMemory.ts https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/cli/src/utils/autoMemory.ts
419 Bytes
| /** | |
| * @license | |
| * Copyright 2026 Google LLC | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| import { | |
| debugLogger, | |
| startMemoryService, | |
| type Config, | |
| } from '@google/gemini-cli-core'; | |
| export function startAutoMemoryIfEnabled(config: Config): void { | |
| if (!config.isAutoMemoryEnabled()) { | |
| return; | |
| } | |
| startMemoryService(config).catch((e) => { | |
| debugLogger.error('Failed to start memory service:', e); | |
| }); | |
| } | |