From dbe88f6e0e8efb989b21fc8b46e0da124f5204ff Mon Sep 17 00:00:00 2001 From: Bryan Morgan Date: Tue, 1 Jul 2025 19:16:09 -0400 Subject: Added support for session_id in API calls (#2886) --- packages/core/src/code_assist/codeAssist.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/core/src/code_assist/codeAssist.ts') 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 { 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}`); -- cgit v1.2.3