There was an error while loading. Please reload this page.
1 parent fcb66d7 commit 7fe41b6Copy full SHA for 7fe41b6
1 file changed
libs/genai/langchain_google_genai/embeddings.py
@@ -117,7 +117,8 @@ def validate_environment(self) -> Self:
117
transport=self.transport,
118
)
119
# Always defer async client initialization to first async call.
120
- # This avoids creating event loops implicitly and aligns with lazy init in chat models.
+ # Avoids implicit event loop creation and aligns with lazy init
121
+ # in chat models.
122
self.async_client = None
123
return self
124
0 commit comments