mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
'Configure Tools' button not showing after start (#278761)
This commit is contained in:
committed by
GitHub
parent
6f5215adcb
commit
0d1433a1bb
@@ -529,6 +529,7 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
|
||||
this._register(this.chatModeService.onDidChangeChatModes(() => this.validateCurrentChatMode()));
|
||||
this._register(autorun(r => {
|
||||
const mode = this._currentModeObservable.read(r);
|
||||
this.chatModeKindKey.set(mode.kind);
|
||||
const model = mode.model?.read(r);
|
||||
if (model) {
|
||||
this.switchModelByQualifiedName(model);
|
||||
@@ -837,7 +838,6 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
|
||||
}
|
||||
|
||||
this._currentModeObservable.set(mode, undefined);
|
||||
this.chatModeKindKey.set(mode.kind);
|
||||
this._onDidChangeCurrentChatMode.fire();
|
||||
|
||||
// Sync to model (mode is now persisted in the model's input state)
|
||||
|
||||
Reference in New Issue
Block a user