vectorvein 0.2.42__py3-none-any.whl → 0.2.44__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.
@@ -211,7 +211,7 @@ class AnthropicChatClient(BaseChatClient):
211
211
  def raw_client(self): # type: ignore
212
212
  self.endpoint, self.model_id = self._set_endpoint()
213
213
 
214
- if self.endpoint.proxy is not None and self.http_client is None:
214
+ if self.endpoint.proxy and self.http_client is None:
215
215
  self.http_client = httpx.Client(proxy=self.endpoint.proxy)
216
216
 
217
217
  if self.endpoint.is_vertex or self.endpoint.endpoint_type == "anthropic_vertex":
@@ -759,7 +759,7 @@ class AsyncAnthropicChatClient(BaseAsyncChatClient):
759
759
  def raw_client(self): # type: ignore
760
760
  self.endpoint, self.model_id = self._set_endpoint()
761
761
 
762
- if self.endpoint.proxy is not None and self.http_client is None:
762
+ if self.endpoint.proxy and self.http_client is None:
763
763
  self.http_client = httpx.AsyncClient(proxy=self.endpoint.proxy)
764
764
 
765
765
  if self.endpoint.is_vertex or self.endpoint.endpoint_type == "anthropic_vertex":
@@ -90,7 +90,7 @@ class OpenAICompatibleChatClient(BaseChatClient):
90
90
  def raw_client(self) -> OpenAI | AzureOpenAI:
91
91
  self.endpoint, self.model_id = self._set_endpoint()
92
92
 
93
- if self.endpoint.proxy is not None and self.http_client is None:
93
+ if self.endpoint.proxy and self.http_client is None:
94
94
  self.http_client = httpx.Client(proxy=self.endpoint.proxy)
95
95
 
96
96
  if self.endpoint.is_azure or self.endpoint.endpoint_type == "openai_azure":
@@ -565,7 +565,7 @@ class AsyncOpenAICompatibleChatClient(BaseAsyncChatClient):
565
565
  def raw_client(self):
566
566
  self.endpoint, self.model_id = self._set_endpoint()
567
567
 
568
- if self.endpoint.proxy is not None and self.http_client is None:
568
+ if self.endpoint.proxy and self.http_client is None:
569
569
  self.http_client = httpx.AsyncClient(proxy=self.endpoint.proxy)
570
570
 
571
571
  if self.endpoint.is_azure or self.endpoint.endpoint_type == "openai_azure":
@@ -778,6 +778,13 @@ ERNIE_MODELS: Final[Dict[str, Dict[str, Any]]] = {
778
778
  "function_call_available": False,
779
779
  "response_format_available": True,
780
780
  },
781
+ "ernie-4.5-8k-preview": {
782
+ "id": "ernie-4.5-8k-preview",
783
+ "context_length": 5120,
784
+ "max_output_tokens": 2048,
785
+ "function_call_available": False,
786
+ "response_format_available": True,
787
+ },
781
788
  }
782
789
 
783
790
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vectorvein
3
- Version: 0.2.42
3
+ Version: 0.2.44
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.2.42.dist-info/METADATA,sha256=YCH8sZb00gd6r310VwxbEo6p4th4_0QoD0hqYNSqf6g,4570
2
- vectorvein-0.2.42.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
- vectorvein-0.2.42.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
1
+ vectorvein-0.2.44.dist-info/METADATA,sha256=2wdCQXnS2piq9XnsrS6wQ9Bt0BuGTuy3B0cq1AxaW_E,4570
2
+ vectorvein-0.2.44.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
+ vectorvein-0.2.44.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
7
7
  vectorvein/api/exceptions.py,sha256=uS_PAdx0ksC0r3dgfSGWdbLMZm4qdLeWSSqCv1g3_Gc,772
8
8
  vectorvein/api/models.py,sha256=xtPWMsB0yIJI7i-gY4B6MtvXv0ZIXnoeKspmeInH6fU,1449
9
9
  vectorvein/chat_clients/__init__.py,sha256=UIytpIgwo8qkZpIyrHVxLYTyliUOTp4J7C4iHRjbtWE,23850
10
- vectorvein/chat_clients/anthropic_client.py,sha256=sazkyIMRSO7h5NvHJPhvMwIEjfTRKBnj8fxjmdooJCg,60567
10
+ vectorvein/chat_clients/anthropic_client.py,sha256=LlT-NeZEEgjOa6g8NdOjVS6Rhdh3T_d5U7gr_KjcX_4,60543
11
11
  vectorvein/chat_clients/baichuan_client.py,sha256=CVMvpgjdrZGv0BWnTOBD-f2ufZ3wq3496wqukumsAr4,526
12
12
  vectorvein/chat_clients/base_client.py,sha256=p7s-G4Wh9MSpDKEfG8wuFAeWy5DGvj5Go31hqrpQPhM,38817
13
13
  vectorvein/chat_clients/deepseek_client.py,sha256=3qWu01NlJAP2N-Ff62d5-CZXZitlizE1fzb20LNetig,526
@@ -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=d6V6T_FvPxEuOhHoQC-NH0Ox6h8ux9T3buOPO2_RonY,48596
22
+ vectorvein/chat_clients/openai_compatible_client.py,sha256=HOL7sgWCBgwYdiAnNPCbODqg9lhZ_IsBUqc8uQG6kRw,48572
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
@@ -32,7 +32,7 @@ vectorvein/server/token_server.py,sha256=36F9PKSNOX8ZtYBXY_l-76GQTpUSmQ2Y8EMy1H7
32
32
  vectorvein/settings/__init__.py,sha256=3Kw3hbvqcIQepAR6Q2m2UXbBnwyJTUm8yAz-aHmbUTg,11163
33
33
  vectorvein/settings/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
34
  vectorvein/types/__init__.py,sha256=ypg8c8AwF49FrFBMqmgH_eIBH4LFf0KN4kjqQa7zrvM,3376
35
- vectorvein/types/defaults.py,sha256=U8acSg7yBWz5rOuwqRY45XX6lqPkM7Y7RbuurX9cpxg,27335
35
+ vectorvein/types/defaults.py,sha256=Tx3bJKcZN0GKeMGJK4gokliOj_MWRPGKnec8csPXO0M,27569
36
36
  vectorvein/types/enums.py,sha256=LplSVkXLBK-t8TWtJKj_f7ktWTd6CSHWRLb67XKMm54,1716
37
37
  vectorvein/types/exception.py,sha256=KtnqZ-1DstHm95SZAyZdHhkGq1bJ4A9Aw3Zfdu-VIFo,130
38
38
  vectorvein/types/llm_parameters.py,sha256=2rF-CQsWcHqTzI2r5x55gSsFm7LW_iCxQxZTEnk0yF8,7843
@@ -62,4 +62,4 @@ vectorvein/workflow/nodes/vector_db.py,sha256=t6I17q6iR3yQreiDHpRrksMdWDPIvgqJs0
62
62
  vectorvein/workflow/nodes/video_generation.py,sha256=qmdg-t_idpxq1veukd-jv_ChICMOoInKxprV9Z4Vi2w,4118
63
63
  vectorvein/workflow/nodes/web_crawlers.py,sha256=BhJBX1AZH7-22Gu95Ox4qJqmH5DU-m4dbUb5N5DTA-M,5559
64
64
  vectorvein/workflow/utils/json_to_code.py,sha256=F7dhDy8kGc8ndOeihGLRLGFGlquoxVlb02ENtxnQ0C8,5914
65
- vectorvein-0.2.42.dist-info/RECORD,,
65
+ vectorvein-0.2.44.dist-info/RECORD,,