Skip to content

Commit

Permalink
chat: fix working set readonly state being lost after sending (micros…
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 authored Jan 11, 2025
1 parent d665c1b commit 9409b89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export class ChatEditingSession extends Disposable implements IChatEditingSessio
if (requestId) {
for (const [uri, data] of this._workingSet) {
if (data.state !== WorkingSetEntryState.Suggested) {
this._workingSet.set(uri, { state: WorkingSetEntryState.Sent });
this._workingSet.set(uri, { state: WorkingSetEntryState.Sent, isMarkedReadonly: data.isMarkedReadonly });
}
}
const linearHistory = this._linearHistory.get();
Expand Down

0 comments on commit 9409b89

Please sign in to comment.