langchain-b12 0.1.11__tar.gz → 0.1.12__tar.gz

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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "langchain-b12"
3
- version = "0.1.11"
3
+ version = "0.1.12"
4
4
  description = "A reusable collection of tools and implementations for Langchain"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -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
@@ -252,7 +252,7 @@ wheels = [
252
252
 
253
253
  [[package]]
254
254
  name = "langchain-b12"
255
- version = "0.1.10"
255
+ version = "0.1.12"
256
256
  source = { editable = "." }
257
257
  dependencies = [
258
258
  { name = "langchain-core" },
File without changes
File without changes