mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
chore - rename and less use of globalEditingSession
This commit is contained in:
@@ -1139,7 +1139,7 @@ export class InlineChatController implements IEditorContribution {
|
||||
const uri = this._editor.getModel().uri;
|
||||
const chatModel = this._chatService.startSession(ChatAgentLocation.Editor, token);
|
||||
|
||||
const editSession = await this._chatEditingService.createAdhocEditingSession(chatModel.sessionId);
|
||||
const editSession = await this._chatEditingService.createEditingSession(chatModel.sessionId);
|
||||
|
||||
//
|
||||
const store = new DisposableStore();
|
||||
|
||||
@@ -337,7 +337,7 @@ export class InlineChatSessionServiceImpl implements IInlineChatSessionService {
|
||||
|
||||
const chatModel = this._chatService.startSession(ChatAgentLocation.EditingSession, token);
|
||||
|
||||
const editingSession = await this._chatEditingService.createAdhocEditingSession(chatModel.sessionId);
|
||||
const editingSession = await this._chatEditingService.createEditingSession(chatModel.sessionId);
|
||||
editingSession.addFileToWorkingSet(uri);
|
||||
|
||||
const store = new DisposableStore();
|
||||
|
||||
Reference in New Issue
Block a user