From 32f417f1cd86298d3d7ae619f6effd7f74fd7420 Mon Sep 17 00:00:00 2001 From: Jorge Date: Fri, 4 Oct 2024 18:47:18 +0200 Subject: [PATCH] Fix lint --- libs/vertexai/langchain_google_vertexai/chat_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/vertexai/langchain_google_vertexai/chat_models.py b/libs/vertexai/langchain_google_vertexai/chat_models.py index c4247706..88a0173d 100644 --- a/libs/vertexai/langchain_google_vertexai/chat_models.py +++ b/libs/vertexai/langchain_google_vertexai/chat_models.py @@ -1121,8 +1121,8 @@ def _default_params(self) -> Dict[str, Any]: ) if self.response_mime_type not in allowed_mime_types: error_message = ( - f"`response_schema` is only supported when " - "`response_mime_type` is set to one of {allowed_mime_types}" + "`response_schema` is only supported when " + f"`response_mime_type` is set to one of {allowed_mime_types}" ) raise ValueError(error_message)