Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuligin committed Feb 13, 2024
1 parent da64bc9 commit 4b2f5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/vertexai/langchain_google_vertexai/chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def _generate(
response = chat.send_message(question.content, **msg_params)
generations = [
ChatGeneration(
message=AIMessage(content=r.text),
message=AIMessage(content=r.text), # type: ignore
generation_info=get_generation_info(r, self._is_gemini_model),
)
for r in response.candidates
Expand Down

0 comments on commit 4b2f5c2

Please sign in to comment.