From 97a05ed3c41add938125938dd64edb9aa44dd038 Mon Sep 17 00:00:00 2001 From: Yongtae Date: Fri, 25 Aug 2023 17:22:36 +0900 Subject: [PATCH] Remove unnecessary console.log statement and add error handling for missing Google Application Credential --- .../nodes/chatmodels/ChatGoogleVertexAI/ChatGoogleVertexAI.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/components/nodes/chatmodels/ChatGoogleVertexAI/ChatGoogleVertexAI.ts b/packages/components/nodes/chatmodels/ChatGoogleVertexAI/ChatGoogleVertexAI.ts index 93081b55..559270b4 100644 --- a/packages/components/nodes/chatmodels/ChatGoogleVertexAI/ChatGoogleVertexAI.ts +++ b/packages/components/nodes/chatmodels/ChatGoogleVertexAI/ChatGoogleVertexAI.ts @@ -82,7 +82,6 @@ class GoogleVertexAI_ChatModels implements INode { const projectID = getCredentialParam('projectID', credentialData, nodeData) const authOptions: GoogleAuthOptions = {} - console.log('credentialData', credentialData) if (Object.keys(credentialData).length !== 0) { if (!googleApplicationCredentialFilePath && !googleApplicationCredential) throw new Error('Please specify your Google Application Credential')