We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e1a1b7 commit 4691610Copy full SHA for 4691610
libs/vertexai/langchain_google_vertexai/_base.py
@@ -118,7 +118,7 @@ def validate_params_base(cls, values: dict) -> Any:
118
if values.get("client_cert_source"):
119
client_options.client_cert_source = values["client_cert_source"]
120
values["client_options"] = client_options
121
- additional_headers = values.get("additional_headers", {})
+ additional_headers = values.get("additional_headers") or {}
122
values["default_metadata"] = tuple(additional_headers.items())
123
return values
124
0 commit comments