@google-cloud/vertexai
Advanced tools
Comparing version 1.8.0 to 1.8.1
{ | ||
".": "1.8.0" | ||
".": "1.8.1" | ||
} |
@@ -48,3 +48,6 @@ "use strict"; | ||
list(pageSize, pageToken) { | ||
const url = new URL(this.apiClient.getBaseUrl() + '/' + this.apiClient.getBaseResourePath()); | ||
const url = new URL(this.apiClient.getBaseUrl() + | ||
'/' + | ||
this.apiClient.getBaseResourePath() + | ||
'/cachedContents'); | ||
if (pageSize) | ||
@@ -51,0 +54,0 @@ url.searchParams.append('pageSize', String(pageSize)); |
@@ -23,3 +23,3 @@ /** | ||
export declare const SYSTEM_ROLE = "system"; | ||
export declare const USER_AGENT = "model-builder/1.8.0 grpc-node/1.8.0"; | ||
export declare const USER_AGENT = "model-builder/1.8.1 grpc-node/1.8.1"; | ||
export declare const CREDENTIAL_ERROR_MESSAGE = "\nUnable to authenticate your request \nDepending on your run time environment, you can get authentication by \n- if in local instance or cloud shell: `!gcloud auth login` \n- if in Colab: \n -`from google.colab import auth` \n -`auth.authenticate_user()` \n- if in service account or other: please follow guidance in https://cloud.google.com/docs/authentication"; |
@@ -27,3 +27,3 @@ "use strict"; | ||
const USER_AGENT_PRODUCT = 'model-builder'; | ||
const CLIENT_LIBRARY_VERSION = '1.8.0'; // x-release-please-version | ||
const CLIENT_LIBRARY_VERSION = '1.8.1'; // x-release-please-version | ||
const CLIENT_LIBRARY_LANGUAGE = `grpc-node/${CLIENT_LIBRARY_VERSION}`; | ||
@@ -30,0 +30,0 @@ exports.USER_AGENT = `${USER_AGENT_PRODUCT}/${CLIENT_LIBRARY_VERSION} ${CLIENT_LIBRARY_LANGUAGE}`; |
# Changelog | ||
## [1.8.1](https://github.com/googleapis/nodejs-vertexai/compare/v1.8.0...v1.8.1) (2024-09-25) | ||
### Bug Fixes | ||
* Fix cached contents list url ([2c4b769](https://github.com/googleapis/nodejs-vertexai/commit/2c4b7692e369385e5cd82a9b753d037d31e4e8ce)) | ||
## [1.8.0](https://github.com/googleapis/nodejs-vertexai/compare/v1.7.0...v1.8.0) (2024-09-18) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@google-cloud/vertexai", | ||
"description": "Vertex Generative AI client for Node.js", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": "Google LLC", |
@@ -76,3 +76,6 @@ /** | ||
const url = new URL( | ||
this.apiClient.getBaseUrl() + '/' + this.apiClient.getBaseResourePath() | ||
this.apiClient.getBaseUrl() + | ||
'/' + | ||
this.apiClient.getBaseResourePath() + | ||
'/cachedContents' | ||
); | ||
@@ -79,0 +82,0 @@ if (pageSize) url.searchParams.append('pageSize', String(pageSize)); |
@@ -24,3 +24,3 @@ /** | ||
const USER_AGENT_PRODUCT = 'model-builder'; | ||
const CLIENT_LIBRARY_VERSION = '1.8.0'; // x-release-please-version | ||
const CLIENT_LIBRARY_VERSION = '1.8.1'; // x-release-please-version | ||
const CLIENT_LIBRARY_LANGUAGE = `grpc-node/${CLIENT_LIBRARY_VERSION}`; | ||
@@ -27,0 +27,0 @@ export const USER_AGENT = `${USER_AGENT_PRODUCT}/${CLIENT_LIBRARY_VERSION} ${CLIENT_LIBRARY_LANGUAGE}`; |
Sorry, the diff of this file is not supported yet
1342633
25192