vectorvein 0.1.19__py3-none-any.whl → 0.1.21__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.
@@ -39,6 +39,10 @@ class GeminiChatClient(BaseChatClient):
39
39
  **kwargs,
40
40
  )
41
41
 
42
+ @property
43
+ def raw_client(self):
44
+ return self.http_client
45
+
42
46
  def create_completion(
43
47
  self,
44
48
  messages: list = list,
@@ -48,6 +52,7 @@ class GeminiChatClient(BaseChatClient):
48
52
  max_tokens: int | None = None,
49
53
  tools: list | None = None,
50
54
  tool_choice: str | None = None,
55
+ **kwargs,
51
56
  ):
52
57
  if model is not None:
53
58
  self.model = model
@@ -95,6 +100,7 @@ class GeminiChatClient(BaseChatClient):
95
100
  "maxOutputTokens": max_tokens,
96
101
  },
97
102
  **tools_params,
103
+ **kwargs,
98
104
  }
99
105
  if system_prompt:
100
106
  request_body["systemInstruction"] = {"parts": [{"text": system_prompt}]}
@@ -209,6 +215,10 @@ class AsyncGeminiChatClient(BaseAsyncChatClient):
209
215
  **kwargs,
210
216
  )
211
217
 
218
+ @property
219
+ def raw_client(self):
220
+ return self.http_client
221
+
212
222
  async def create_completion(
213
223
  self,
214
224
  messages: list = list,
@@ -218,6 +228,7 @@ class AsyncGeminiChatClient(BaseAsyncChatClient):
218
228
  max_tokens: int | None = None,
219
229
  tools: list | None = None,
220
230
  tool_choice: str | None = None,
231
+ **kwargs,
221
232
  ):
222
233
  if model is not None:
223
234
  self.model = model
@@ -265,6 +276,7 @@ class AsyncGeminiChatClient(BaseAsyncChatClient):
265
276
  "maxOutputTokens": max_tokens,
266
277
  },
267
278
  **tools_params,
279
+ **kwargs,
268
280
  }
269
281
  if system_prompt:
270
282
  request_body["systemInstruction"] = {"parts": [{"text": system_prompt}]}
@@ -66,6 +66,10 @@ class MiniMaxChatClient(BaseChatClient):
66
66
  else:
67
67
  self.http_client = httpx.Client()
68
68
 
69
+ @property
70
+ def raw_client(self):
71
+ return self.http_client
72
+
69
73
  def create_completion(
70
74
  self,
71
75
  messages: list = list,
@@ -231,6 +235,10 @@ class AsyncMiniMaxChatClient(BaseAsyncChatClient):
231
235
  else:
232
236
  self.http_client = httpx.AsyncClient()
233
237
 
238
+ @property
239
+ def raw_client(self):
240
+ return self.http_client
241
+
234
242
  async def create_completion(
235
243
  self,
236
244
  messages: list = list,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vectorvein
3
- Version: 0.1.19
3
+ Version: 0.1.21
4
4
  Summary: Default template for PDM package
5
5
  Author-Email: Anderson <andersonby@163.com>
6
6
  License: MIT
@@ -1,15 +1,16 @@
1
- vectorvein-0.1.19.dist-info/METADATA,sha256=wyesBKDMTPiWx1UqHuHkxtjhrqmYOh9ndGrf-hI3JYA,502
2
- vectorvein-0.1.19.dist-info/WHEEL,sha256=rSwsxJWe3vzyR5HCwjWXQruDgschpei4h_giTm0dJVE,90
1
+ vectorvein-0.1.21.dist-info/METADATA,sha256=1jVHDXn7ri6Lgs7uuS8lVLYF6xvKDIrJ0U3fV7flZQQ,502
2
+ vectorvein-0.1.21.dist-info/WHEEL,sha256=Yaoh9rlmnhBUmykFXwmFW_cmVAW3ZIWH8QkQVngJtyw,90
3
+ vectorvein-0.1.21.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
3
4
  vectorvein/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
5
  vectorvein/chat_clients/__init__.py,sha256=lOGrIEBGN-EoxJ-dF5uMsO6viNCIFIeNL8whDwE6x3g,4657
5
6
  vectorvein/chat_clients/anthropic_client.py,sha256=VJQi7cKLbbLkJtmEFN9M41JUaGjwEuJaXIuQLK-3rdw,20332
6
7
  vectorvein/chat_clients/baichuan_client.py,sha256=CVMvpgjdrZGv0BWnTOBD-f2ufZ3wq3496wqukumsAr4,526
7
8
  vectorvein/chat_clients/base_client.py,sha256=AnzEmNfT4XW4lKcwf8fv2NlSk1EHK0evr4-1EH0KkwI,5018
8
9
  vectorvein/chat_clients/deepseek_client.py,sha256=3qWu01NlJAP2N-Ff62d5-CZXZitlizE1fzb20LNetig,526
9
- vectorvein/chat_clients/gemini_client.py,sha256=W-9Vu-GTE9wxStPznyNR0rBEgDG3LYBu2uQXd4sh1YQ,14425
10
+ vectorvein/chat_clients/gemini_client.py,sha256=nabhddX_0jO0rb1M39GF8X0g6i-wnoy49XI7Id8-1iQ,14663
10
11
  vectorvein/chat_clients/groq_client.py,sha256=Uow4pgdmFi93ZQSoOol2-0PhhqkW-S0XuSldvppz5U4,498
11
12
  vectorvein/chat_clients/local_client.py,sha256=55nOsxzqUf79q3Y14MKROA71zxhsT7p7FsDZ89rts2M,422
12
- vectorvein/chat_clients/minimax_client.py,sha256=iNq87zWx79g8tGo784c67xUt-YQ4TyMoFWUIjDVEMGw,13801
13
+ vectorvein/chat_clients/minimax_client.py,sha256=xykptVg0qzOrJKuswHLG3M7r8H37jEMOb0gAnYAUdKQ,13947
13
14
  vectorvein/chat_clients/mistral_client.py,sha256=1aKSylzBDaLYcFnaBIL4-sXSzWmXfBeON9Q0rq-ziWw,534
14
15
  vectorvein/chat_clients/moonshot_client.py,sha256=gbu-6nGxx8uM_U2WlI4Wus881rFRotzHtMSoYOcruGU,526
15
16
  vectorvein/chat_clients/openai_client.py,sha256=Nz6tV45pWcsOupxjnsRsGTicbQNJWIZyxuJoJ5DGMpg,527
@@ -24,4 +25,4 @@ vectorvein/types/enums.py,sha256=PNK_pTIyjJFy-yAG2PHaMIO1ey3W6fReMCkH8M8VRW4,159
24
25
  vectorvein/types/llm_parameters.py,sha256=mmJjJZz4bPRi0nHzYNUNdWsQLHa9lbf3-MNVnU78vaY,3608
25
26
  vectorvein/utilities/media_processing.py,sha256=BujciRmw1GMmc3ELRvafL8STcy6r5b2rVnh27-uA7so,2256
26
27
  vectorvein/utilities/retry.py,sha256=9ePuJdeUUGx-qMWfaFxmlOvG_lQPwCQ4UB1z3Edlo34,993
27
- vectorvein-0.1.19.dist-info/RECORD,,
28
+ vectorvein-0.1.21.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: pdm-backend (2.3.3)
2
+ Generator: pdm-backend (2.4.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+
3
+ [gui_scripts]
4
+