Johannes Rieken 2024-06-18 17:11:26 +02:00 committed by GitHub
parent be0696db68
commit 0e96ca9c64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -549,6 +549,7 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
if (items && items.length > 0) {
this.followupsDisposables.add(this.instantiationService.createInstance<typeof ChatFollowups<IChatFollowup>, ChatFollowups<IChatFollowup>>(ChatFollowups, this.followupsContainer, items, this.location, undefined, followup => this._onDidAcceptFollowup.fire({ followup, response })));
}
this._onDidChangeHeight.fire();
}
get contentHeight(): number {

View file

@ -90,7 +90,7 @@ export class InlineChatContentWidget implements IContentWidget {
this._store.add(this._widget);
this._widget.render(this._inputContainer);
this._widget.setModel(this._defaultChatModel, {});
this._store.add(this._widget.inputEditor.onDidContentSizeChange(() => _editor.layoutContentWidget(this)));
this._store.add(this._widget.onDidChangeContentHeight(() => _editor.layoutContentWidget(this)));
this._domNode.tabIndex = -1;
this._domNode.className = 'inline-chat-content-widget interactive-session';