Explorar el Código

Merge pull request #1404 from RooVetGit/fix_cline_provider

Missed a spot in ClineProvider
Matt Rubens hace 1 año
padre
commit
ee997c8669
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,