From 16c008dba73fcb87be94d639bdf3f9eca428e2de Mon Sep 17 00:00:00 2001 From: Yongtae Date: Thu, 3 Aug 2023 00:21:13 +0900 Subject: [PATCH] Fix incorrect variable name for maxOutputTokens in GoogleVertexAI_LLMs class --- packages/components/nodes/llms/GoogleVertexAI/googlevertexai.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/nodes/llms/GoogleVertexAI/googlevertexai.ts b/packages/components/nodes/llms/GoogleVertexAI/googlevertexai.ts index faf8e78b..754f3642 100644 --- a/packages/components/nodes/llms/GoogleVertexAI/googlevertexai.ts +++ b/packages/components/nodes/llms/GoogleVertexAI/googlevertexai.ts @@ -86,7 +86,7 @@ class GoogleVertexAI_LLMs implements INode { async init(nodeData: INodeData, _: string): Promise { const temperature = nodeData.inputs?.temperature as string const model = nodeData.inputs?.modelName as string - const maxOutputTokens = nodeData.inputs?.maxTokens as string + const maxOutputTokens = nodeData.inputs?.maxOutputTokens as string const topP = nodeData.inputs?.topP as string const obj: Partial = {