📝 (GoogleGenerativeAIModel.py): Fix type hinting issue for ChatGoogleGenerativeAI class to ignore type checking for this line

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-06-19 20:17:39 -03:00
commit b8d70315f8

View file

@ -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,