vectorvein 0.2.81__py3-none-any.whl → 0.2.82__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.
@@ -99,7 +99,7 @@ class OpenAICompatibleChatClient(BaseChatClient):
99
99
  return AzureOpenAI(
100
100
  azure_endpoint=self.endpoint.api_base,
101
101
  api_key=self.endpoint.api_key,
102
- api_version="2025-01-01-preview",
102
+ api_version="2025-03-01-preview",
103
103
  http_client=self.http_client,
104
104
  )
105
105
  else:
@@ -336,7 +336,7 @@ class OpenAICompatibleChatClient(BaseChatClient):
336
336
  else:
337
337
  max_tokens = self.model_setting.context_length - token_counts - 64
338
338
 
339
- if "o3-mini" in self.model_id:
339
+ if "o3-mini" in self.model_id or "o4-mini" in self.model_id:
340
340
  max_completion_tokens = max_tokens
341
341
  max_tokens = NOT_GIVEN
342
342
 
@@ -581,7 +581,7 @@ class AsyncOpenAICompatibleChatClient(BaseAsyncChatClient):
581
581
  return AsyncAzureOpenAI(
582
582
  azure_endpoint=self.endpoint.api_base,
583
583
  api_key=self.endpoint.api_key,
584
- api_version="2025-01-01-preview",
584
+ api_version="2025-03-01-preview",
585
585
  http_client=self.http_client,
586
586
  )
587
587
  else:
@@ -818,7 +818,7 @@ class AsyncOpenAICompatibleChatClient(BaseAsyncChatClient):
818
818
  else:
819
819
  max_tokens = self.model_setting.context_length - token_counts - 64
820
820
 
821
- if "o3-mini" in self.model_id:
821
+ if "o3-mini" in self.model_id or "o4-mini" in self.model_id:
822
822
  max_completion_tokens = max_tokens
823
823
  max_tokens = NOT_GIVEN
824
824
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vectorvein
3
- Version: 0.2.81
3
+ Version: 0.2.82
4
4
  Summary: VectorVein Python SDK
5
5
  Author-Email: Anderson <andersonby@163.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
- vectorvein-0.2.81.dist-info/METADATA,sha256=h1vkaS8URHV74Rm8xG0GI5tDdchJIMpeDprE5KpXb9Q,4567
2
- vectorvein-0.2.81.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
- vectorvein-0.2.81.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
1
+ vectorvein-0.2.82.dist-info/METADATA,sha256=8qPwbRd0NqD6whuoi6BB34IhKoH_ml8pqtOGjCPq4yM,4567
2
+ vectorvein-0.2.82.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
+ vectorvein-0.2.82.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
4
  vectorvein/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  vectorvein/api/__init__.py,sha256=lfY-XA46fgD2iIZTU0VYP8i07AwA03Egj4Qua0vUKrQ,738
6
6
  vectorvein/api/client.py,sha256=xF-leKDQzVyyy9FnIRaz0k4eElYW1XbbzeRLcpnyk90,33047
@@ -19,7 +19,7 @@ vectorvein/chat_clients/minimax_client.py,sha256=YOILWcsHsN5tihLTMbKJIyJr9TJREMI
19
19
  vectorvein/chat_clients/mistral_client.py,sha256=1aKSylzBDaLYcFnaBIL4-sXSzWmXfBeON9Q0rq-ziWw,534
20
20
  vectorvein/chat_clients/moonshot_client.py,sha256=gbu-6nGxx8uM_U2WlI4Wus881rFRotzHtMSoYOcruGU,526
21
21
  vectorvein/chat_clients/openai_client.py,sha256=Nz6tV45pWcsOupxjnsRsGTicbQNJWIZyxuJoJ5DGMpg,527
22
- vectorvein/chat_clients/openai_compatible_client.py,sha256=o0UP2jfTD8qDxd2ayeUaOS7p_yfaj7_S_YR2vmm2w28,49155
22
+ vectorvein/chat_clients/openai_compatible_client.py,sha256=3TBQaFZD5o8GUeOnLz_bQ4gzwGANEVu-8HW4iNNcXTo,49215
23
23
  vectorvein/chat_clients/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  vectorvein/chat_clients/qwen_client.py,sha256=-ryh-m9PgsO0fc4ulcCmPTy1155J8YUy15uPoJQOHA0,513
25
25
  vectorvein/chat_clients/stepfun_client.py,sha256=zsD2W5ahmR4DD9cqQTXmJr3txrGuvxbRWhFlRdwNijI,519
@@ -65,4 +65,4 @@ vectorvein/workflow/utils/analyse.py,sha256=msmvyz35UTYTwqQR5sg9H0sm1vxmGDSmep9X
65
65
  vectorvein/workflow/utils/check.py,sha256=B_NdwqIqnc7Ko2HHqFpfOmWVaAu21tPITe0szKfiZKc,11414
66
66
  vectorvein/workflow/utils/json_to_code.py,sha256=P8dhhSNgKhTnW17qXNjLO2aLdb0rA8qMAWxhObol2TU,7295
67
67
  vectorvein/workflow/utils/layout.py,sha256=j0bRD3uaXu40xCS6U6BGahBI8FrHa5MiF55GbTrZ1LM,4565
68
- vectorvein-0.2.81.dist-info/RECORD,,
68
+ vectorvein-0.2.82.dist-info/RECORD,,