Skip to content

Commit 0975639

Browse files
authored
make sure we match chat modes in edits (microsoft#252250)
make sure we match chat modes
1 parent 94a2502 commit 0975639

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
@@ -958,6 +958,7 @@ export class ChatWidget extends Disposable implements IChatWidget {
958958
ChatContextKeys.currentlyEditing.bindTo(this.templateData.contextKeyService).set(true);
959959
}
960960
this.createInput(this.inputContainer);
961+
this.input.setChatMode(this.inputPart.currentMode);
961962
this.inputPart.toggleChatInputOverlay(true);
962963
if (currentContext.length > 0) {
963964
this.input.attachmentModel.addContext(...currentContext);

0 commit comments

Comments
 (0)