vectorvein 0.1.57__py3-none-any.whl → 0.1.58__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.
@@ -197,7 +197,7 @@ class GeminiChatClient(BaseChatClient):
197
197
  if self.http_client:
198
198
  client = self.http_client
199
199
  else:
200
- client = httpx.Client()
200
+ client = httpx.Client(timeout=300)
201
201
  with client.stream("POST", url, headers=headers, params=params, json=request_body) as response:
202
202
  for chunk in response.iter_lines():
203
203
  message = {"content": "", "tool_calls": []}
@@ -236,7 +236,7 @@ class GeminiChatClient(BaseChatClient):
236
236
  if self.http_client:
237
237
  client = self.http_client
238
238
  else:
239
- client = httpx.Client()
239
+ client = httpx.Client(timeout=300)
240
240
  response = client.post(url, json=request_body, headers=headers, params=params, timeout=None).json()
241
241
  if "error" in response:
242
242
  raise Exception(response["error"])
@@ -444,7 +444,7 @@ class AsyncGeminiChatClient(BaseAsyncChatClient):
444
444
  if self.http_client:
445
445
  client = self.http_client
446
446
  else:
447
- client = httpx.AsyncClient()
447
+ client = httpx.AsyncClient(timeout=300)
448
448
  async with client.stream("POST", url, headers=headers, params=params, json=request_body) as response:
449
449
  async for chunk in response.aiter_lines():
450
450
  message = {"content": "", "tool_calls": []}
@@ -483,7 +483,7 @@ class AsyncGeminiChatClient(BaseAsyncChatClient):
483
483
  if self.http_client:
484
484
  client = self.http_client
485
485
  else:
486
- client = httpx.AsyncClient()
486
+ client = httpx.AsyncClient(timeout=300)
487
487
  async with client:
488
488
  response = await client.post(url, json=request_body, headers=headers, params=params, timeout=None)
489
489
  response = response.json()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vectorvein
3
- Version: 0.1.57
3
+ Version: 0.1.58
4
4
  Summary: VectorVein python SDK
5
5
  Author-Email: Anderson <andersonby@163.com>
6
6
  License: MIT
@@ -1,13 +1,13 @@
1
- vectorvein-0.1.57.dist-info/METADATA,sha256=-fOMLN0KMGSLgP8bzbsqUy_lV7AOnhrZRfoQDCzGBGs,633
2
- vectorvein-0.1.57.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
- vectorvein-0.1.57.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
1
+ vectorvein-0.1.58.dist-info/METADATA,sha256=MUOh1Z8jL9ZTAqTbPHMzaB-pOKw7VaOJb9OGiNQuwf4,633
2
+ vectorvein-0.1.58.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
+ vectorvein-0.1.58.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
4
  vectorvein/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  vectorvein/chat_clients/__init__.py,sha256=Oev7Lv1DIEWCMD-2Pm7e2cwzX7JFQTnIK-j6o4iUuyQ,17725
6
6
  vectorvein/chat_clients/anthropic_client.py,sha256=qd6F2mfSmrx49PsuiFtRm7DORiRjrz7etGZ1Rrz9sOM,36912
7
7
  vectorvein/chat_clients/baichuan_client.py,sha256=CVMvpgjdrZGv0BWnTOBD-f2ufZ3wq3496wqukumsAr4,526
8
8
  vectorvein/chat_clients/base_client.py,sha256=VYgzqz2-FpMXY6gVklToXtXs9aaNHFRMkSuUDWpyxgs,10017
9
9
  vectorvein/chat_clients/deepseek_client.py,sha256=3qWu01NlJAP2N-Ff62d5-CZXZitlizE1fzb20LNetig,526
10
- vectorvein/chat_clients/gemini_client.py,sha256=Y2cdBqBcmhEQQe1E-p7FRiyug2yQ3oWnOBYIB-JuLrU,20726
10
+ vectorvein/chat_clients/gemini_client.py,sha256=ME_-uXtQ8ue3RuIOE6IP373NmYIO4gWweHTdL0gXSoE,20770
11
11
  vectorvein/chat_clients/groq_client.py,sha256=Uow4pgdmFi93ZQSoOol2-0PhhqkW-S0XuSldvppz5U4,498
12
12
  vectorvein/chat_clients/local_client.py,sha256=55nOsxzqUf79q3Y14MKROA71zxhsT7p7FsDZ89rts2M,422
13
13
  vectorvein/chat_clients/minimax_client.py,sha256=r5B4z2QEYhxv0wrsYIY80TEWbSrsfuak0XNpO0E3uho,19802
@@ -33,4 +33,4 @@ vectorvein/types/llm_parameters.py,sha256=5o-C_yXxxQWZy_e8OWowB2107GTS-Eawx4Mvb1
33
33
  vectorvein/types/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
34
  vectorvein/utilities/media_processing.py,sha256=CTRq-lGlFkFgP_FSRhNwF_qUgmOrXPf2_1Ok9HY42_g,5887
35
35
  vectorvein/utilities/retry.py,sha256=6KFS9R2HdhqM3_9jkjD4F36ZSpEx2YNFGOVlpOsUetM,2208
36
- vectorvein-0.1.57.dist-info/RECORD,,
36
+ vectorvein-0.1.58.dist-info/RECORD,,