Fix FileSystemService instantiation in RegisterDependencies function

This commit is contained in:
Andrew Beal 2025-09-30 21:22:11 +01:00
parent 523a95f3d5
commit 3a6ac876c2

View file

@ -21,7 +21,7 @@ export function RegisterDependencies(plugin: DmsAssistantPlugin) {
RegisterSingleton(Services.DmsAssistantPlugin, plugin);
RegisterSingleton(Services.OdbCache, new OdbCache());
RegisterSingleton(Services.ModalService, new ModalService())
RegisterSingleton(Services.FileSystemService, new FileSystemService(plugin));
RegisterSingleton(Services.FileSystemService, new FileSystemService());
RegisterSingleton(Services.ConversationFileSystemService, new ConversationFileSystemService());
RegisterSingleton<IPrompt>(Services.IPrompt, new AIPrompt());