We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dad26a commit 77565bdCopy full SHA for 77565bd
src/vs/workbench/contrib/chat/browser/chatInputPart.ts
@@ -362,7 +362,10 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
362
363
if (removed.length > 0 || contentReferences.length > 0) {
364
this.initAttachedContext(this.attachedContextContainer);
365
- this._onDidChangeContext.fire({ removed, added: contentReferences });
+
366
+ if (!overwrite) {
367
+ this._onDidChangeContext.fire({ removed, added: contentReferences });
368
+ }
369
}
370
371
0 commit comments