dashscope 1.23.7__py3-none-any.whl → 1.23.8__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.

Potentially problematic release.


This version of dashscope might be problematic. Click here for more details.

@@ -23,8 +23,8 @@ class Assistants(CreateMixin, CancelMixin, DeleteMixin, ListObjectMixin,
23
23
  name: str = None,
24
24
  description: str = None,
25
25
  instructions: str = None,
26
- tools: Optional[str] = [],
27
- file_ids: Optional[str] = [],
26
+ tools: Optional[List[Dict]] = None,
27
+ file_ids: Optional[List[str]] = [],
28
28
  metadata: Dict = {},
29
29
  ):
30
30
  obj = {}
@@ -36,7 +36,7 @@ class Assistants(CreateMixin, CancelMixin, DeleteMixin, ListObjectMixin,
36
36
  obj['description'] = description
37
37
  if instructions:
38
38
  obj['instructions'] = instructions
39
- if tools:
39
+ if tools is not None:
40
40
  obj['tools'] = tools
41
41
  obj['file_ids'] = file_ids
42
42
  obj['metadata'] = metadata
@@ -50,7 +50,7 @@ class Assistants(CreateMixin, CancelMixin, DeleteMixin, ListObjectMixin,
50
50
  name: str = None,
51
51
  description: str = None,
52
52
  instructions: str = None,
53
- tools: Optional[List[Dict]] = [],
53
+ tools: Optional[List[Dict]] = None,
54
54
  file_ids: Optional[List[str]] = [],
55
55
  metadata: Dict = None,
56
56
  workspace: str = None,
@@ -93,7 +93,7 @@ class Assistants(CreateMixin, CancelMixin, DeleteMixin, ListObjectMixin,
93
93
  name: str = None,
94
94
  description: str = None,
95
95
  instructions: str = None,
96
- tools: Optional[List[Dict]] = [],
96
+ tools: Optional[List[Dict]] = None,
97
97
  file_ids: Optional[List[str]] = [],
98
98
  metadata: Dict = None,
99
99
  workspace: str = None,
@@ -219,8 +219,8 @@ class Assistants(CreateMixin, CancelMixin, DeleteMixin, ListObjectMixin,
219
219
  name: str = None,
220
220
  description: str = None,
221
221
  instructions: str = None,
222
- tools: Optional[str] = [],
223
- file_ids: Optional[str] = [],
222
+ tools: Optional[List[Dict]] = None,
223
+ file_ids: Optional[List[str]] = [],
224
224
  metadata: Dict = None,
225
225
  workspace: str = None,
226
226
  api_key: str = None,
dashscope/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  # Copyright (c) Alibaba, Inc. and its affiliates.
2
2
 
3
- __version__ = '1.23.7'
3
+ __version__ = '1.23.8'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dashscope
3
- Version: 1.23.7
3
+ Version: 1.23.8
4
4
  Summary: dashscope client sdk library
5
5
  Home-page: https://dashscope.aliyun.com/
6
6
  Author: Alibaba Cloud
@@ -3,7 +3,7 @@ dashscope/cli.py,sha256=amegoTkGOs6TlHMdoo4JVOqBePo3lGs745rc7leEyrE,24020
3
3
  dashscope/files.py,sha256=vRDQygm3lOqBZR73o7KNHs1iTBVuvLncuwJNxIYjzAU,3981
4
4
  dashscope/model.py,sha256=B5v_BtYLPqj6raClejBgdKg6WTGwhH_f-20pvsQqmsk,1491
5
5
  dashscope/models.py,sha256=dE4mzXkl85G343qVylSGpURPRdA5pZSqXlx6PcxqC_Q,1275
6
- dashscope/version.py,sha256=HwgMDxa-K4tdaSJnt84_qDc7qTyV4eqR_QjdjT4ulxc,74
6
+ dashscope/version.py,sha256=6DgsyBliaSBoW28fDz6xciPoDrZn9WjPE91rwsO7lys,74
7
7
  dashscope/aigc/__init__.py,sha256=AuRhu_vA1K0tbs_C6DgcZYhTvxMuzDgpwHJNHzEPIHg,442
8
8
  dashscope/aigc/chat_completion.py,sha256=ONlyyssIbfaKKcFo7cEKhHx5OCF2XX810HFzIExW1ho,14813
9
9
  dashscope/aigc/code_generation.py,sha256=p_mxDKJLQMW0IjFD46JRlZuEZCRESSVKEfLlAevBtqw,10936
@@ -27,7 +27,7 @@ dashscope/app/application.py,sha256=Whf_ij4RHOaY12_xdS8uj8HVNCwkTp_MRdrFTryF1Kg,
27
27
  dashscope/app/application_response.py,sha256=z9BKcb9QuV_TzHkqtwaCwap2GQ1mP48uDD7gIc2il98,7038
28
28
  dashscope/assistants/__init__.py,sha256=hjCTuv13yFaXyUqlexAU-RaO0Ahq3P7VK9_LkSbkGVU,434
29
29
  dashscope/assistants/assistant_types.py,sha256=DQ_lOust10wjiV38Nlsu3HaGYNbGlJoaLjEza82Wotk,4262
30
- dashscope/assistants/assistants.py,sha256=_ADX4s8Mlfhfq7kb8xMLztNX_09NAW7DouvbVLY0jpw,10884
30
+ dashscope/assistants/assistants.py,sha256=t8BGu9K2YbNpBenUyFFDMx5WpZ5x5OtbssJkj0xfVo0,10930
31
31
  dashscope/assistants/files.py,sha256=Ol2h7L2vNV8kgWqum2B-3B9vtLEHB_2KWt0K7e96Bmg,6750
32
32
  dashscope/audio/__init__.py,sha256=RKw-A1PLA5F4jiXI3AnuRSYeHFzQl2OW2ZGW6xyHS1Q,132
33
33
  dashscope/audio/asr/__init__.py,sha256=JoCenJAUVOQXPmAn1toKeFYCfc8BqNn0NKpqjuJvNJc,1055
@@ -93,9 +93,9 @@ dashscope/tokenizers/tokenizer.py,sha256=3FQVDvMNkCW9ccYeJdjrd_PIMMD3Xv7aNZkaYOE
93
93
  dashscope/tokenizers/tokenizer_base.py,sha256=5EJIFuizMWESEmLmbd38yJnfeHmPnzZPwsO4aOGjpl4,707
94
94
  dashscope/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
95
95
  dashscope/utils/oss_utils.py,sha256=L5LN3lN8etVxSL_jkZydstvEKpnTG9CY0zcvPGQ5LBo,7383
96
- dashscope-1.23.7.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
97
- dashscope-1.23.7.dist-info/METADATA,sha256=JxFpTi5zU9f1O1uLoTH1OoV6iV3K3aAqshhD1MTDtFY,7123
98
- dashscope-1.23.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
99
- dashscope-1.23.7.dist-info/entry_points.txt,sha256=e9C3sOf9zDYL0O5ROEGX6FT8w-QK_kaGRWmPZDHAFys,49
100
- dashscope-1.23.7.dist-info/top_level.txt,sha256=woqavFJK9zas5xTqynmALqOtlafghjsk63Xk86powTU,10
101
- dashscope-1.23.7.dist-info/RECORD,,
96
+ dashscope-1.23.8.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
97
+ dashscope-1.23.8.dist-info/METADATA,sha256=WGhQP8-i0LkVHvWBAGSnPXQM_T-zOHPeLOGJ-jCMGxY,7123
98
+ dashscope-1.23.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
99
+ dashscope-1.23.8.dist-info/entry_points.txt,sha256=e9C3sOf9zDYL0O5ROEGX6FT8w-QK_kaGRWmPZDHAFys,49
100
+ dashscope-1.23.8.dist-info/top_level.txt,sha256=woqavFJK9zas5xTqynmALqOtlafghjsk63Xk86powTU,10
101
+ dashscope-1.23.8.dist-info/RECORD,,