Skip to content

Commit 44d9204

Browse files
authored
Do not use agent mode for Edit with Copilot (#7791)
Fixes #7752
1 parent f5dcfaf commit 44d9204

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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: \n```\n{0}\n```\nOutput only one, minimally modified query in a codeblock.\nModify 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)