Skip to content

Commit 1da4f0c

Browse files
authored
always set locked coding agents to ask mode (microsoft#258345)
1 parent 2673e1f commit 1da4f0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/chat/browser/chatWidget.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,6 +1616,7 @@ export class ChatWidget extends Disposable implements IChatWidget {
16161616
this._codingAgentPrefix = `@${name} `;
16171617
this._lockedToCodingAgentContextKey.set(true);
16181618
this.renderWelcomeViewContentIfNeeded();
1619+
this.input.setChatMode(ChatModeKind.Ask);
16191620

16201621
// Update the placeholder to show that we're locked to this agent
16211622
const localized = localize('chat.input.placeholder.lockedToAgent', "Chat with @{0}", name);

0 commit comments

Comments
 (0)