mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 10:14:31 -05:00
fix: sync all attachments to working set when submitting request (#232225)
This commit is contained in:
@@ -1012,6 +1012,11 @@ export class ChatWidget extends Disposable implements IChatWidget {
|
||||
}
|
||||
}
|
||||
workingSet = [...uniqueWorkingSetEntries.values()];
|
||||
const currentEditingSession = this.chatEditingService.currentEditingSessionObs.get();
|
||||
for (const file of workingSet) {
|
||||
// Make sure that any files that we sent are part of the working set
|
||||
currentEditingSession?.addFileToWorkingSet(file);
|
||||
}
|
||||
attachedContext = editingSessionAttachedContext;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user