summaryrefslogtreecommitdiff
path: root/packages/core/src/code_assist/codeAssist.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/core/src/code_assist/codeAssist.ts')
-rw-r--r--packages/core/src/code_assist/codeAssist.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/core/src/code_assist/codeAssist.ts b/packages/core/src/code_assist/codeAssist.ts
index c3cb9293..80d95ca9 100644
--- a/packages/core/src/code_assist/codeAssist.ts
+++ b/packages/core/src/code_assist/codeAssist.ts
@@ -12,11 +12,12 @@ import { CodeAssistServer, HttpOptions } from './server.js';
export async function createCodeAssistContentGenerator(
httpOptions: HttpOptions,
authType: AuthType,
+ sessionId?: string,
): Promise<ContentGenerator> {
if (authType === AuthType.LOGIN_WITH_GOOGLE) {
const authClient = await getOauthClient();
const projectId = await setupUser(authClient);
- return new CodeAssistServer(authClient, projectId, httpOptions);
+ return new CodeAssistServer(authClient, projectId, httpOptions, sessionId);
}
throw new Error(`Unsupported authType: ${authType}`);