@@ -19,7 +19,7 @@ import { NotificationSummarizationTool } from './summarizeNotificationsTool';
1919export function registerTools ( context : vscode . ExtensionContext , credentialStore : CredentialStore , repositoriesManager : RepositoriesManager , chatParticipantState : ChatParticipantState ) {
2020 registerFetchingTools ( context , credentialStore , repositoriesManager , chatParticipantState ) ;
2121 registerSummarizationTools ( context ) ;
22- registerSuggestFixTool ( context , repositoriesManager ) ;
22+ registerSuggestFixTool ( context , credentialStore , repositoriesManager , chatParticipantState ) ;
2323 registerSearchTools ( context , credentialStore , repositoriesManager , chatParticipantState ) ;
2424}
2525
@@ -33,8 +33,8 @@ function registerSummarizationTools(context: vscode.ExtensionContext) {
3333 context . subscriptions . push ( vscode . lm . registerTool ( NotificationSummarizationTool . toolId , new NotificationSummarizationTool ( ) ) ) ;
3434}
3535
36- function registerSuggestFixTool ( context : vscode . ExtensionContext , repositoriesManager : RepositoriesManager ) {
37- context . subscriptions . push ( vscode . lm . registerTool ( SuggestFixTool . toolId , new SuggestFixTool ( repositoriesManager ) ) ) ;
36+ function registerSuggestFixTool ( context : vscode . ExtensionContext , credentialStore : CredentialStore , repositoriesManager : RepositoriesManager , chatParticipantState : ChatParticipantState ) {
37+ context . subscriptions . push ( vscode . lm . registerTool ( SuggestFixTool . toolId , new SuggestFixTool ( credentialStore , repositoriesManager , chatParticipantState ) ) ) ;
3838}
3939
4040function registerSearchTools ( context : vscode . ExtensionContext , credentialStore : CredentialStore , repositoriesManager : RepositoriesManager , chatParticipantState : ChatParticipantState ) {
0 commit comments