Ver Fonte

Merge pull request #1404 from RooVetGit/fix_cline_provider

Missed a spot in ClineProvider
Matt Rubens há 9 meses atrás
pai
commit
ee997c8669
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/core/webview/ClineProvider.ts

+ 1 - 1
src/core/webview/ClineProvider.ts

@@ -1785,7 +1785,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
 			const mode = message.mode ?? defaultModeSlug
 			const customModes = await this.customModesManager.getCustomModes()
 
-			const rooIgnoreInstructions = this.cline?.rooIgnoreController?.getInstructions()
+			const rooIgnoreInstructions = this.getCurrentCline()?.rooIgnoreController?.getInstructions()
 
 			const systemPrompt = await SYSTEM_PROMPT(
 				this.context,