Fix broken chat input placeholder and decorations (#212759)

This commit is contained in:
Rob Lourens 2024-05-14 17:48:54 -07:00 committed by GitHub
parent 0d64170259
commit 1a9a2be60e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -584,6 +584,8 @@ export class ChatWidget extends Disposable implements IChatWidget {
}
this._onDidChangeContentHeight.fire();
}));
this._register(this.inputEditor.onDidChangeModelContent(() => this.parsedChatRequest = undefined));
this._register(this.chatAgentService.onDidChangeAgents(() => this.parsedChatRequest = undefined));
this._register(this.inputPart.onDidChangeAttachedContext(() => {
if (this.bodyDimension) {
this.layout(this.bodyDimension.height, this.bodyDimension.width);