vectorvein 0.1.73__py3-none-any.whl → 0.1.75__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.
- vectorvein/chat_clients/minimax_client.py +4 -4
- vectorvein/chat_clients/utils.py +1 -1
- vectorvein/types/defaults.py +7 -0
- {vectorvein-0.1.73.dist-info → vectorvein-0.1.75.dist-info}/METADATA +1 -1
- {vectorvein-0.1.73.dist-info → vectorvein-0.1.75.dist-info}/RECORD +7 -7
- {vectorvein-0.1.73.dist-info → vectorvein-0.1.75.dist-info}/WHEEL +0 -0
- {vectorvein-0.1.73.dist-info → vectorvein-0.1.75.dist-info}/entry_points.txt +0 -0
@@ -244,7 +244,7 @@ class MiniMaxChatClient(BaseChatClient):
|
|
244
244
|
url=self.url,
|
245
245
|
headers=self.headers,
|
246
246
|
json=request_body,
|
247
|
-
timeout=
|
247
|
+
timeout=300,
|
248
248
|
) as response:
|
249
249
|
for chunk in response.iter_lines():
|
250
250
|
if chunk:
|
@@ -275,7 +275,7 @@ class MiniMaxChatClient(BaseChatClient):
|
|
275
275
|
url=self.url,
|
276
276
|
headers=self.headers,
|
277
277
|
json=request_body,
|
278
|
-
timeout=
|
278
|
+
timeout=300,
|
279
279
|
)
|
280
280
|
result = response.json()
|
281
281
|
tool_calls_params = extract_tool_calls(result)
|
@@ -491,7 +491,7 @@ class AsyncMiniMaxChatClient(BaseAsyncChatClient):
|
|
491
491
|
url=self.url,
|
492
492
|
headers=self.headers,
|
493
493
|
json=request_body,
|
494
|
-
timeout=
|
494
|
+
timeout=300,
|
495
495
|
) as response:
|
496
496
|
has_tool_calls = False
|
497
497
|
async for chunk in response.aiter_lines():
|
@@ -523,7 +523,7 @@ class AsyncMiniMaxChatClient(BaseAsyncChatClient):
|
|
523
523
|
url=self.url,
|
524
524
|
headers=self.headers,
|
525
525
|
json=request_body,
|
526
|
-
timeout=
|
526
|
+
timeout=300,
|
527
527
|
)
|
528
528
|
result = response.json()
|
529
529
|
tool_calls_params = extract_tool_calls(result)
|
vectorvein/chat_clients/utils.py
CHANGED
@@ -243,7 +243,7 @@ def get_token_counts(text: str | dict, model: str = "", use_token_server_first:
|
|
243
243
|
endpoint_id = endpoint_choice
|
244
244
|
endpoint = settings.get_endpoint(endpoint_id)
|
245
245
|
|
246
|
-
if endpoint.is_vertex:
|
246
|
+
if endpoint.is_vertex or endpoint.is_bedrock:
|
247
247
|
continue
|
248
248
|
elif endpoint.api_schema_type == "default":
|
249
249
|
return (
|
vectorvein/types/defaults.py
CHANGED
@@ -647,6 +647,13 @@ MINIMAX_MODELS: Final[Dict[str, Dict[str, Any]]] = {
|
|
647
647
|
"function_call_available": True,
|
648
648
|
"response_format_available": True,
|
649
649
|
},
|
650
|
+
"MiniMax-Text-01": {
|
651
|
+
"id": "MiniMax-Text-01",
|
652
|
+
"context_length": 1000192,
|
653
|
+
"max_output_tokens": 1000192,
|
654
|
+
"function_call_available": True,
|
655
|
+
"response_format_available": True,
|
656
|
+
},
|
650
657
|
}
|
651
658
|
|
652
659
|
# Gemini models
|
@@ -1,6 +1,6 @@
|
|
1
|
-
vectorvein-0.1.
|
2
|
-
vectorvein-0.1.
|
3
|
-
vectorvein-0.1.
|
1
|
+
vectorvein-0.1.75.dist-info/METADATA,sha256=U3OoJo_4ayq0s27eH8tpJ10rQdeqQSKjU9ftsHfxnck,641
|
2
|
+
vectorvein-0.1.75.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
|
3
|
+
vectorvein-0.1.75.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=shRwgpbynExqX8l370_MTT7cGVhD4pE6VdPuf2AbI1E,40017
|
@@ -10,7 +10,7 @@ vectorvein/chat_clients/deepseek_client.py,sha256=3qWu01NlJAP2N-Ff62d5-CZXZitliz
|
|
10
10
|
vectorvein/chat_clients/gemini_client.py,sha256=ROVwflFyczkOxbJieqQHPTJk6XogZDKl1TFAvwZVyMU,21192
|
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
|
-
vectorvein/chat_clients/minimax_client.py,sha256=
|
13
|
+
vectorvein/chat_clients/minimax_client.py,sha256=2km4DYhBpOyiNlu9ykaXDuuhmuCMDFfb626PIJFp0eg,20126
|
14
14
|
vectorvein/chat_clients/mistral_client.py,sha256=1aKSylzBDaLYcFnaBIL4-sXSzWmXfBeON9Q0rq-ziWw,534
|
15
15
|
vectorvein/chat_clients/moonshot_client.py,sha256=gbu-6nGxx8uM_U2WlI4Wus881rFRotzHtMSoYOcruGU,526
|
16
16
|
vectorvein/chat_clients/openai_client.py,sha256=Nz6tV45pWcsOupxjnsRsGTicbQNJWIZyxuJoJ5DGMpg,527
|
@@ -18,7 +18,7 @@ vectorvein/chat_clients/openai_compatible_client.py,sha256=h4D8dUscDcLshPcou-jWA
|
|
18
18
|
vectorvein/chat_clients/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
19
|
vectorvein/chat_clients/qwen_client.py,sha256=-ryh-m9PgsO0fc4ulcCmPTy1155J8YUy15uPoJQOHA0,513
|
20
20
|
vectorvein/chat_clients/stepfun_client.py,sha256=zsD2W5ahmR4DD9cqQTXmJr3txrGuvxbRWhFlRdwNijI,519
|
21
|
-
vectorvein/chat_clients/utils.py,sha256=
|
21
|
+
vectorvein/chat_clients/utils.py,sha256=FurSHSSpdPjeL8ktZ0AuRKtV4pcAJJYas0PHkw5WBw4,28070
|
22
22
|
vectorvein/chat_clients/xai_client.py,sha256=eLFJJrNRJ-ni3DpshODcr3S1EJQLbhVwxyO1E54LaqM,491
|
23
23
|
vectorvein/chat_clients/yi_client.py,sha256=RNf4CRuPJfixrwLZ3-DEc3t25QDe1mvZeb9sku2f8Bc,484
|
24
24
|
vectorvein/chat_clients/zhipuai_client.py,sha256=Ys5DSeLCuedaDXr3PfG1EW2zKXopt-awO2IylWSwY0s,519
|
@@ -26,11 +26,11 @@ vectorvein/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
26
26
|
vectorvein/server/token_server.py,sha256=36F9PKSNOX8ZtYBXY_l-76GQTpUSmQ2Y8EMy1H7wtdQ,1353
|
27
27
|
vectorvein/settings/__init__.py,sha256=g01y74x0k2JEAqNpRGG0PDs0NTULjOAZV6HRhydPX1c,3874
|
28
28
|
vectorvein/settings/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
29
|
-
vectorvein/types/defaults.py,sha256=
|
29
|
+
vectorvein/types/defaults.py,sha256=4qF31QJSFexF8E-Og8aGM0wCzegtPe65vxd8VQj7oKA,25579
|
30
30
|
vectorvein/types/enums.py,sha256=7KTJSVtQueImmbr1fSwv3rQVtc0RyMWXJmoE2tDOaso,1667
|
31
31
|
vectorvein/types/exception.py,sha256=gnW4GnJ76jND6UGnodk9xmqkcbeS7Cz2rvncA2HpD5E,69
|
32
32
|
vectorvein/types/llm_parameters.py,sha256=g2Q0RKMC2vOcMI0tFpZ53xfVSfC8MLoK0YntPqce49U,5360
|
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.
|
36
|
+
vectorvein-0.1.75.dist-info/RECORD,,
|
File without changes
|
File without changes
|