mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
This commit is contained in:
@@ -88,7 +88,7 @@ export class InlineChatSessionServiceImpl implements IInlineChatSessionService {
|
||||
this._sessions.clear();
|
||||
}
|
||||
|
||||
async createSession(editor: IActiveCodeEditor, options: { editMode: EditMode; wholeRange?: Range; session?: Session }, token: CancellationToken): Promise<Session | undefined> {
|
||||
async createSession(editor: IActiveCodeEditor, options: { editMode: EditMode; headless?: boolean; wholeRange?: Range; session?: Session }, token: CancellationToken): Promise<Session | undefined> {
|
||||
|
||||
const agent = this._chatAgentService.getDefaultAgent(ChatAgentLocation.Editor);
|
||||
|
||||
@@ -198,6 +198,7 @@ export class InlineChatSessionServiceImpl implements IInlineChatSessionService {
|
||||
|
||||
const session = new Session(
|
||||
options.editMode,
|
||||
options.headless ?? false,
|
||||
targetUri,
|
||||
textModel0,
|
||||
textModelN,
|
||||
|
||||
Reference in New Issue
Block a user