initialize FileDiscoveryService once (#1029)

This commit is contained in:
Anas H. Sulaiman 2025-06-13 20:25:59 -04:00 committed by GitHub
parent 209381f06f
commit 8eb505fbba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 42 additions and 12 deletions

View file

@ -139,6 +139,7 @@ const App = ({ config, settings, startupWarnings = [] }: AppProps) => {
const { memoryContent, fileCount } = await loadHierarchicalGeminiMemory(
process.cwd(),
config.getDebugMode(),
await config.getFileService(),
);
config.setUserMemory(memoryContent);
config.setGeminiMdFileCount(fileCount);