Skip to content

Commit efba501

Browse files
sararobcopybara-github
authored andcommitted
chore: Append language to user-agent header
FUTURE_COPYBARA_INTEGRATE_REVIEW=#596 from googleapis:release-please--branches--main--components--vertexai 489440d PiperOrigin-RevId: 900425828
1 parent 73d18da commit efba501

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/genai/client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ export class Client {
3535
vertexai: true,
3636
httpOptions: options.apiEndpoint ? {baseUrl: options.apiEndpoint} :
3737
undefined,
38-
userAgentExtra: `vertex-genai-modules/${SDK_VERSION}`,
38+
userAgentExtra:
39+
`vertex-genai-modules/${SDK_VERSION} gl-node/${process.version}`,
3940
});
4041

4142
this._agentEnginesInternal = new AgentEngines(this.apiClient);

0 commit comments

Comments
 (0)