Просмотр исходного кода

Merge pull request #1404 from RooVetGit/fix_cline_provider

Missed a spot in ClineProvider
Matt Rubens 10 месяцев назад
Родитель
Сommit
ee997c8669
1 измененных файлов с 1 добавлено и 1 удалено
  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,