vectorvein 0.1.5__py3-none-any.whl → 0.1.6__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.
@@ -125,6 +125,8 @@ class AnthropicChatClient(BaseChatClient):
125
125
  self.stream = stream
126
126
  if temperature is not None:
127
127
  self.temperature = temperature
128
+ if isinstance(tools, OpenAINotGiven):
129
+ tools = NOT_GIVEN
128
130
  if isinstance(tool_choice, OpenAINotGiven):
129
131
  tool_choice = NOT_GIVEN
130
132
 
@@ -311,6 +313,8 @@ class AsyncAnthropicChatClient(BaseAsyncChatClient):
311
313
  self.stream = stream
312
314
  if temperature is not None:
313
315
  self.temperature = temperature
316
+ if isinstance(tools, OpenAINotGiven):
317
+ tools = NOT_GIVEN
314
318
  if isinstance(tool_choice, OpenAINotGiven):
315
319
  tool_choice = NOT_GIVEN
316
320
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vectorvein
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary: Default template for PDM package
5
5
  Author-Email: Anderson <andersonby@163.com>
6
6
  License: MIT
@@ -1,8 +1,8 @@
1
- vectorvein-0.1.5.dist-info/METADATA,sha256=r18JlWmGo82_SqUDV0YCIY7WrAY4WExRpkfZzZpB6dM,423
2
- vectorvein-0.1.5.dist-info/WHEEL,sha256=rSwsxJWe3vzyR5HCwjWXQruDgschpei4h_giTm0dJVE,90
1
+ vectorvein-0.1.6.dist-info/METADATA,sha256=cfyPkv1PSdCL5Ve9zAIDTNVzrPDLN2GDbiADGewJN0g,423
2
+ vectorvein-0.1.6.dist-info/WHEEL,sha256=rSwsxJWe3vzyR5HCwjWXQruDgschpei4h_giTm0dJVE,90
3
3
  vectorvein/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  vectorvein/chat_clients/__init__.py,sha256=5j7W--jr-l2cqDJp38uXYvkydDK0rnzm7MYGSACHKmU,3976
5
- vectorvein/chat_clients/anthropic_client.py,sha256=8ttBbcxF12VN2kkIKJpIOfkXUMBU9npJ8-7B4r852i4,18555
5
+ vectorvein/chat_clients/anthropic_client.py,sha256=pkk0yPH05WTOnKOAXkm60ZZw1kdT8pCydNkHx7QArh4,18707
6
6
  vectorvein/chat_clients/base_client.py,sha256=GjPUAjgd_36-lHr8QXvz2X_-ApjbmAD3KZRjmntJ65U,4247
7
7
  vectorvein/chat_clients/deepseek_client.py,sha256=3qWu01NlJAP2N-Ff62d5-CZXZitlizE1fzb20LNetig,526
8
8
  vectorvein/chat_clients/gemini_client.py,sha256=IpkfcqVF38f4kAFnlHyisn4vkiMeM4cICyS4XDD0jJE,12787
@@ -22,4 +22,4 @@ vectorvein/types/defaults.py,sha256=Mg-Mj3_eBzKZn1N8x1V2GqyaYgLD13i-NdSYdQC28X4,
22
22
  vectorvein/types/enums.py,sha256=vzOenCnRlFXBwPh-lfFhjGfM-6yfDj7wZColHODqocI,1550
23
23
  vectorvein/types/llm_parameters.py,sha256=nBjStC2zndTY__yhD2WFXB09taxEhDLE3OHA6MICfgE,3494
24
24
  vectorvein/utilities/media_processing.py,sha256=BujciRmw1GMmc3ELRvafL8STcy6r5b2rVnh27-uA7so,2256
25
- vectorvein-0.1.5.dist-info/RECORD,,
25
+ vectorvein-0.1.6.dist-info/RECORD,,