mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
alert with language model, chat mode when it changes (#245150)
fixes #245135 fixes #245136
This commit is contained in:
@@ -410,6 +410,13 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
|
|||||||
this.setChatMode(ChatMode.Edit);
|
this.setChatMode(ChatMode.Edit);
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
this._register(this.onDidChangeCurrentChatMode(() => this.accessibilityService.alert(this._currentMode)));
|
||||||
|
this._register(this._onDidChangeCurrentLanguageModel.event(() => {
|
||||||
|
if (this._currentLanguageModel?.metadata.name) {
|
||||||
|
this.accessibilityService.alert(this._currentLanguageModel.metadata.name);
|
||||||
|
}
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
private getSelectedModelStorageKey(): string {
|
private getSelectedModelStorageKey(): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user