diff --git a/libs/vertexai/langchain_google_vertexai/_base.py b/libs/vertexai/langchain_google_vertexai/_base.py index fe1307ae..211185b4 100644 --- a/libs/vertexai/langchain_google_vertexai/_base.py +++ b/libs/vertexai/langchain_google_vertexai/_base.py @@ -248,6 +248,7 @@ def _init_vertexai(cls, values: Dict) -> None: credentials=values.get("credentials"), api_transport=values.get("api_transport"), api_endpoint=values.get("api_endpoint"), + request_metadata=values.get("request_metadata"), ) return None