From b8d70315f83e4d906d02148f5e9a02fe030da2b6 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Wed, 19 Jun 2024 20:17:39 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20(GoogleGenerativeAIModel.py):=20?= =?UTF-8?q?Fix=20type=20hinting=20issue=20for=20ChatGoogleGenerativeAI=20c?= =?UTF-8?q?lass=20to=20ignore=20type=20checking=20for=20this=20line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/langflow/components/models/GoogleGenerativeAIModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/base/langflow/components/models/GoogleGenerativeAIModel.py b/src/backend/base/langflow/components/models/GoogleGenerativeAIModel.py index 734dd48a0..9e4f392c4 100644 --- a/src/backend/base/langflow/components/models/GoogleGenerativeAIModel.py +++ b/src/backend/base/langflow/components/models/GoogleGenerativeAIModel.py @@ -96,7 +96,7 @@ class GoogleGenerativeAIComponent(LCModelComponent): top_p = self.top_p n = self.n - output = ChatGoogleGenerativeAI( + output = ChatGoogleGenerativeAI( # type: ignore model=model, max_output_tokens=max_output_tokens or None, temperature=temperature,