chore - rename and less use of globalEditingSession

This commit is contained in:
Johannes
2025-02-03 16:52:05 +01:00
parent ff39acb25d
commit d8587cf8e7
6 changed files with 10 additions and 10 deletions

View File

@@ -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();

View File

@@ -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();