vectorvein 0.1.65__py3-none-any.whl → 0.1.66__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.
@@ -367,13 +367,12 @@ class AnthropicChatClient(BaseChatClient):
367
367
  _tool_choice = OPENAI_NOT_GIVEN if tool_choice is NOT_GIVEN else tool_choice
368
368
 
369
369
  formatted_messages = refactor_into_openai_messages(messages)
370
- model_id = self.model_id
371
370
 
372
371
  if self.stream:
373
372
 
374
373
  def _generator():
375
374
  response = OpenAICompatibleChatClient(
376
- model=model_id,
375
+ model=self.model,
377
376
  stream=True,
378
377
  temperature=self.temperature,
379
378
  context_length_control=self.context_length_control,
@@ -401,7 +400,7 @@ class AnthropicChatClient(BaseChatClient):
401
400
  return _generator()
402
401
  else:
403
402
  return OpenAICompatibleChatClient(
404
- model=model_id,
403
+ model=self.model,
405
404
  stream=False,
406
405
  temperature=self.temperature,
407
406
  context_length_control=self.context_length_control,
@@ -775,13 +774,12 @@ class AsyncAnthropicChatClient(BaseAsyncChatClient):
775
774
  _tool_choice = OPENAI_NOT_GIVEN if tool_choice is NOT_GIVEN else tool_choice
776
775
 
777
776
  formatted_messages = refactor_into_openai_messages(messages)
778
- model_id = self.model_id
779
777
 
780
778
  if self.stream:
781
779
 
782
780
  async def _generator():
783
781
  client = AsyncOpenAICompatibleChatClient(
784
- model=model_id,
782
+ model=self.model,
785
783
  stream=True,
786
784
  temperature=self.temperature,
787
785
  context_length_control=self.context_length_control,
@@ -810,7 +808,7 @@ class AsyncAnthropicChatClient(BaseAsyncChatClient):
810
808
  return _generator()
811
809
  else:
812
810
  client = AsyncOpenAICompatibleChatClient(
813
- model=model_id,
811
+ model=self.model,
814
812
  stream=False,
815
813
  temperature=self.temperature,
816
814
  context_length_control=self.context_length_control,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vectorvein
3
- Version: 0.1.65
3
+ Version: 0.1.66
4
4
  Summary: VectorVein python SDK
5
5
  Author-Email: Anderson <andersonby@163.com>
6
6
  License: MIT
@@ -1,9 +1,9 @@
1
- vectorvein-0.1.65.dist-info/METADATA,sha256=fpFrRlOFxiH2LN0z908Zzvzq8ubZTJECcXlURTglHbY,641
2
- vectorvein-0.1.65.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
- vectorvein-0.1.65.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
1
+ vectorvein-0.1.66.dist-info/METADATA,sha256=ADrcrdQzL73FvPdbixtc3QtYx-pyHA2nfCB0DZt3Hcw,641
2
+ vectorvein-0.1.66.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
+ vectorvein-0.1.66.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
- vectorvein/chat_clients/anthropic_client.py,sha256=Woiq96x0I-wkiLJabYwiYPbajtDw7In3n7y0-y3Zp1Y,39997
6
+ vectorvein/chat_clients/anthropic_client.py,sha256=jwZkVrjCatYy0cjpDCch4d4lzLh8oX8exs6sV3z5iNI,39931
7
7
  vectorvein/chat_clients/baichuan_client.py,sha256=CVMvpgjdrZGv0BWnTOBD-f2ufZ3wq3496wqukumsAr4,526
8
8
  vectorvein/chat_clients/base_client.py,sha256=tmD3ai6YjQnCKHuPsUww1khRlJeJ2AJzYubksb-2UaM,10489
9
9
  vectorvein/chat_clients/deepseek_client.py,sha256=3qWu01NlJAP2N-Ff62d5-CZXZitlizE1fzb20LNetig,526
@@ -33,4 +33,4 @@ vectorvein/types/llm_parameters.py,sha256=g2Q0RKMC2vOcMI0tFpZ53xfVSfC8MLoK0YntPq
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.65.dist-info/RECORD,,
36
+ vectorvein-0.1.66.dist-info/RECORD,,