langchain-b12 0.1.11__py3-none-any.whl → 0.1.12__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.
@@ -106,7 +106,13 @@ class ChatGenAI(BaseChatModel):
106
106
  def _setup_retry_options(self) -> "ChatGenAI":
107
107
  """Convert max_retries to http_retry_options if not explicitly set."""
108
108
  if self.http_retry_options is None and self.max_retries is not None:
109
- self.http_retry_options = types.HttpRetryOptions(attempts=self.max_retries)
109
+ self.http_retry_options = types.HttpRetryOptions(
110
+ attempts=self.max_retries,
111
+ initial_delay=1.0,
112
+ max_delay=60.0,
113
+ exp_base=2.0,
114
+ jitter=0.1,
115
+ )
110
116
  return self
111
117
 
112
118
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langchain-b12
3
- Version: 0.1.11
3
+ Version: 0.1.12
4
4
  Summary: A reusable collection of tools and implementations for Langchain
5
5
  Author-email: Vincent Min <vincent.min@b12-consulting.com>
6
6
  Requires-Python: >=3.11
@@ -2,8 +2,8 @@ langchain_b12/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  langchain_b12/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  langchain_b12/citations/citations.py,sha256=ZQvYayjQXIUaRosJ0qwL3Nc7kC8sBzmaIkE-BOslaVI,12261
4
4
  langchain_b12/genai/embeddings.py,sha256=h0Z-5PltDW9q79AjSrLemsz-_QKMB-043XXDvYSRQds,3483
5
- langchain_b12/genai/genai.py,sha256=u-QAH_4VauBj99dWuYBaxAMT3bNbqMdxM-rYgRKctLw,18074
5
+ langchain_b12/genai/genai.py,sha256=niECJjU4lGcA0YYU7pGfL4oDZoiHYSdKWXyvB3gEBe4,18230
6
6
  langchain_b12/genai/genai_utils.py,sha256=tA6UiJURK25-11vtaX4768UV47jDCYwVKIIWydD4Egw,10736
7
- langchain_b12-0.1.11.dist-info/METADATA,sha256=w4uaxeVl7hg1h2Zj3J9ZOukgUAXHeJcQA0rrtBnmdyg,1205
8
- langchain_b12-0.1.11.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
9
- langchain_b12-0.1.11.dist-info/RECORD,,
7
+ langchain_b12-0.1.12.dist-info/METADATA,sha256=c5A1cSulh5NeVxvBn8lkfU4peFVU7ei5eNScNDTkYds,1205
8
+ langchain_b12-0.1.12.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
9
+ langchain_b12-0.1.12.dist-info/RECORD,,