From dc830e6c21e2b941c55939050b6e9368fa5ae16a Mon Sep 17 00:00:00 2001 From: Jason Guo Date: Wed, 2 Apr 2025 15:23:20 -0700 Subject: [PATCH] Remove userIntent from agentic chat window input --- .../core/src/codewhispererChat/controllers/chat/controller.ts | 2 +- packages/core/src/codewhispererChat/tools/listDirectory.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/codewhispererChat/controllers/chat/controller.ts b/packages/core/src/codewhispererChat/controllers/chat/controller.ts index a18ff718182..da6e11bec5f 100644 --- a/packages/core/src/codewhispererChat/controllers/chat/controller.ts +++ b/packages/core/src/codewhispererChat/controllers/chat/controller.ts @@ -1097,7 +1097,7 @@ export class ChatController { filePath: context?.activeFileContext?.filePath, matchPolicy: context?.activeFileContext?.matchPolicy, codeQuery: context?.focusAreaContext?.names, - userIntent: this.userIntentRecognizer.getFromPromptChatMessage(message), + userIntent: undefined, customization: getSelectedCustomization(), chatHistory: this.chatHistoryStorage.getTabHistory(message.tabID).getHistory(), origin: Origin.IDE, diff --git a/packages/core/src/codewhispererChat/tools/listDirectory.ts b/packages/core/src/codewhispererChat/tools/listDirectory.ts index 3b5329e85d1..d2cffa2914f 100644 --- a/packages/core/src/codewhispererChat/tools/listDirectory.ts +++ b/packages/core/src/codewhispererChat/tools/listDirectory.ts @@ -44,7 +44,7 @@ export class ListDirectory { public queueDescription(updates: Writable): void { const fileName = path.basename(this.fsPath) - updates.write(`Listing directory on filePath: ${fileName}`) + updates.write(`Listing directory: ${fileName}`) updates.end() }