From ecf71c8db7a61287cf8edef69a5b01d62bb4ab41 Mon Sep 17 00:00:00 2001 From: Yongtae Date: Fri, 25 Aug 2023 17:24:03 +0900 Subject: [PATCH] Add optional Google Vertex AI credential input with description --- .../chatmodels/ChatGoogleVertexAI/ChatGoogleVertexAI.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/components/nodes/chatmodels/ChatGoogleVertexAI/ChatGoogleVertexAI.ts b/packages/components/nodes/chatmodels/ChatGoogleVertexAI/ChatGoogleVertexAI.ts index 559270b4..a7ac4259 100644 --- a/packages/components/nodes/chatmodels/ChatGoogleVertexAI/ChatGoogleVertexAI.ts +++ b/packages/components/nodes/chatmodels/ChatGoogleVertexAI/ChatGoogleVertexAI.ts @@ -28,7 +28,10 @@ class GoogleVertexAI_ChatModels implements INode { label: 'Connect Credential', name: 'credential', type: 'credential', - credentialNames: ['googleVertexAuth'] + credentialNames: ['googleVertexAuth'], + optional: true, + description: + 'Google Vertex AI credential. If you are using a GCP service like Cloud Run, or if you have installed default credentials on your local machine, you do not need to set this credential.' } this.inputs = [ {