refactor: refactor settings to a nested structure (#7244)

This commit is contained in:
Gal Zahavi 2025-08-27 18:39:45 -07:00 committed by GitHub
parent b8a7bfd136
commit f22263c9e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 2852 additions and 1424 deletions

View file

@ -92,9 +92,10 @@ export const memoryCommand: SlashCommand = {
config.getDebugMode(),
config.getFileService(),
config.getExtensionContextFilePaths(),
context.services.settings.merged.memoryImportFormat || 'tree', // Use setting or default to 'tree'
context.services.settings.merged.context?.importFormat ||
'tree', // Use setting or default to 'tree'
config.getFileFilteringOptions(),
context.services.settings.merged.memoryDiscoveryMaxDirs,
context.services.settings.merged.context?.discoveryMaxDirs,
);
config.setUserMemory(memoryContent);
config.setGeminiMdFileCount(fileCount);