1-
21/**
32 * @license
43 * Copyright 2026 Google LLC
54 * SPDX-License-Identifier: Apache-2.0
65 */
7- import { ApiClient , NodeAuth , NodeDownloader , NodeUploader } from '@google/genai/vertex_internal' ;
6+ import { ApiClient , NodeAuth , NodeDownloader , NodeUploader , } from '@google/genai/vertex_internal' ;
87
98import { AgentEngines } from './agentengines' ;
10- import { Sessions } from './sessions' ;
119
1210export const SDK_VERSION = '1.10.4' ; // x-release-please-version
1311
@@ -20,8 +18,9 @@ export class Client {
2018 constructor (
2119 options : { project ?: string ; location ?: string ; apiEndpoint ?: string ; } ) {
2220 const auth = new NodeAuth ( {
23- googleAuthOptions :
24- { scopes : [ 'https://www.googleapis.com/auth/cloud-platform' ] }
21+ googleAuthOptions : {
22+ scopes : [ 'https://www.googleapis.com/auth/cloud-platform' ] ,
23+ } ,
2524 } ) ;
2625
2726 const uploader = new NodeUploader ( ) ;
@@ -36,10 +35,9 @@ export class Client {
3635 vertexai : true ,
3736 httpOptions : options . apiEndpoint ? { baseUrl : options . apiEndpoint } :
3837 undefined ,
39- userAgentExtra : `vertex-genai-modules/${ SDK_VERSION } `
38+ userAgentExtra : `vertex-genai-modules/${ SDK_VERSION } ` ,
4039 } ) ;
4140
42-
4341 this . _agentEnginesInternal = new AgentEngines ( this . apiClient ) ;
4442 }
4543
@@ -49,7 +47,8 @@ export class Client {
4947 public get agentEnginesInternal ( ) : AgentEngines {
5048 if ( ! agentEnginesInternalWarned ) {
5149 console . warn (
52- 'The agentEnginesInternal implementation is experimental, and may change in future versions.' ) ;
50+ 'The agentEnginesInternal implementation is experimental, and may change in future versions.' ,
51+ ) ;
5352 agentEnginesInternalWarned = true ;
5453 }
5554 return this . _agentEnginesInternal ;
0 commit comments