Skip to content

Commit 4060deb

Browse files
authored
fix: update implicit context widget for new chat widgets (microsoft#242102)
1 parent ffae9bf commit 4060deb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/vs/workbench/contrib/chat/browser/contrib/chatImplicitContext.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ export class ChatImplicitContextContribution extends Disposable implements IWork
9292
widget.input.implicitContext.setValue(undefined, false);
9393
}
9494
}));
95+
this._register(this.chatWidgetService.onDidAddWidget(async (widget) => {
96+
await this.updateImplicitContext(widget);
97+
}));
9598
}
9699

97100
private findActiveCodeEditor(): ICodeEditor | undefined {

0 commit comments

Comments
 (0)