langchain-google-genai 2.1.9__py3-none-any.whl → 2.1.10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of langchain-google-genai might be problematic. Click here for more details.

@@ -698,7 +698,9 @@ def _parse_response_candidate(
698
698
  )
699
699
  if content is None:
700
700
  content = ""
701
- if any(isinstance(item, dict) and "executable_code" in item for item in content):
701
+ if isinstance(content, list) and any(
702
+ isinstance(item, dict) and "executable_code" in item for item in content
703
+ ):
702
704
  warnings.warn(
703
705
  """
704
706
  ⚠️ Warning: Output may vary each run.
@@ -1281,8 +1283,8 @@ class ChatGoogleGenerativeAI(_BaseGoogleGenerativeAI, BaseChatModel):
1281
1283
 
1282
1284
  client: Any = Field(default=None, exclude=True) #: :meta private:
1283
1285
  async_client_running: Any = Field(default=None, exclude=True) #: :meta private:
1284
- default_metadata: Sequence[Tuple[str, str]] = Field(
1285
- default_factory=list
1286
+ default_metadata: Optional[Sequence[Tuple[str, str]]] = Field(
1287
+ default=None, alias="default_metadata_input"
1286
1288
  ) #: :meta private:
1287
1289
 
1288
1290
  convert_system_message_to_human: bool = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: langchain-google-genai
3
- Version: 2.1.9
3
+ Version: 2.1.10
4
4
  Summary: An integration package connecting Google's genai package and LangChain
5
5
  Home-page: https://github.com/langchain-ai/langchain-google
6
6
  License: MIT
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3.11
13
13
  Classifier: Programming Language :: Python :: 3.12
14
14
  Requires-Dist: filetype (>=1.2.0,<2.0.0)
15
15
  Requires-Dist: google-ai-generativelanguage (>=0.6.18,<0.7.0)
16
- Requires-Dist: langchain-core (>=0.3.68,<0.4.0)
16
+ Requires-Dist: langchain-core (>=0.3.75,<0.4.0)
17
17
  Requires-Dist: pydantic (>=2,<3)
18
18
  Project-URL: Repository, https://github.com/langchain-ai/langchain-google
19
19
  Project-URL: Source Code, https://github.com/langchain-ai/langchain-google/tree/main/libs/genai
@@ -4,13 +4,13 @@ langchain_google_genai/_enums.py,sha256=Zj3BXXLlkm_UybegCi6fLsfFhriJCt_LAJvgatgP
4
4
  langchain_google_genai/_function_utils.py,sha256=VX1hj_hN3o8HGmLIiucGL7ggqrqA0Usgu4p_yvb240Q,21994
5
5
  langchain_google_genai/_genai_extension.py,sha256=cK1J96xxy_NGFYGYJQVC8q8omURz3OF3KAZJnMhIF18,20795
6
6
  langchain_google_genai/_image_utils.py,sha256=wRd-pf190F-GelSl_qPIRy8XifrBNvqTdGaHr63azlQ,5216
7
- langchain_google_genai/chat_models.py,sha256=F-ajbbhQHPFeuE_oF2DVL6tElsK1BpWtPG3OzjXXTT0,79233
7
+ langchain_google_genai/chat_models.py,sha256=CyJfChuJOVq7nrjnwEE4WtUy9hPd40bRxhw4QlpTkds,79311
8
8
  langchain_google_genai/embeddings.py,sha256=rLBb2V0j_NkflUdRE01e9Lxw-3dl94OywbyRCXJXRvI,15078
9
9
  langchain_google_genai/genai_aqa.py,sha256=qB6h3-BSXqe0YLR3eeVllYzmNKK6ofI6xJLdBahUVZo,4300
10
10
  langchain_google_genai/google_vector_store.py,sha256=4wvhIiOmc3Fo046FyafPmT9NBCLek-9bgluvuTfrbpQ,16148
11
11
  langchain_google_genai/llms.py,sha256=heRbdOM9Qav1htRromaMyub-KjPYJl7gvLLFzbZWsmg,5728
12
12
  langchain_google_genai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
- langchain_google_genai-2.1.9.dist-info/LICENSE,sha256=DppmdYJVSc1jd0aio6ptnMUn5tIHrdAhQ12SclEBfBg,1072
14
- langchain_google_genai-2.1.9.dist-info/METADATA,sha256=abIiOsi8KocSrHNHmyC4380obNZHkXS-TnAHpV5rov8,7179
15
- langchain_google_genai-2.1.9.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
16
- langchain_google_genai-2.1.9.dist-info/RECORD,,
13
+ langchain_google_genai-2.1.10.dist-info/LICENSE,sha256=DppmdYJVSc1jd0aio6ptnMUn5tIHrdAhQ12SclEBfBg,1072
14
+ langchain_google_genai-2.1.10.dist-info/METADATA,sha256=OJSsO9We9B62916uCt9AEfmaiypNgIt8KcCU-N7N08A,7180
15
+ langchain_google_genai-2.1.10.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
16
+ langchain_google_genai-2.1.10.dist-info/RECORD,,