Skip to content

Commit 90f5604

Browse files
committed
Do not use agent mode for Edit with Copilot
Fixes #7752
1 parent fa37e36 commit 90f5604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/settingsUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,5 @@ async function openCopilotForQuery(currentQuery: string) {
169169
const chatMessage = vscode.l10n.t('I want to edit this GitHub search query: "{0}". Modify it so that it ', currentQuery);
170170

171171
// Open chat with the query pre-populated
172-
await vscode.commands.executeCommand(commands.OPEN_CHAT, { query: chatMessage, isPartialQuery: true });
172+
await vscode.commands.executeCommand(commands.OPEN_CHAT, { query: chatMessage, isPartialQuery: true, mode: 'ask' });
173173
}

0 commit comments

Comments
 (0)