File tree 1 file changed +0
-16
lines changed
src/vs/workbench/contrib/chat/common
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -1449,22 +1449,6 @@ export class ChatModel extends Disposable implements IChatModel {
1449
1449
this . _editingSession = new ObservablePromise ( editingSessionPromise ) ;
1450
1450
this . _editingSession . promise . then ( editingSession => {
1451
1451
this . _store . isDisposed ? editingSession . dispose ( ) : this . _register ( editingSession ) ;
1452
-
1453
- // const currentStates = new ResourceMap<ModifiedFileEntryState>();
1454
- // this._register(autorun(r => {
1455
- // editingSession.entries.read(r).forEach(entry => {
1456
- // const state = entry.state.read(r);
1457
- // if (state !== currentStates.get(entry.modifiedURI)) {
1458
- // currentStates.set(entry.modifiedURI, state);
1459
- // if (state === ModifiedFileEntryState.Rejected) {
1460
- // this.currentWorkingSetEntries.push({
1461
- // uri: entry.modifiedURI,
1462
- // state: ChatAgentWorkingSetEntryState.Rejected
1463
- // });
1464
- // }
1465
- // }
1466
- // });
1467
- // }));
1468
1452
} ) ;
1469
1453
}
1470
1454
You can’t perform that action at this time.
0 commit comments