@cloudbase/ai 4.0.0 → 4.0.1-alpha.1
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.
- package/.eslintrc.js +1 -0
- package/CHANGELOG.md +1164 -0
- package/dist/cjs/AI.d.ts +6 -3
- package/dist/cjs/AI.js +67 -24
- package/dist/cjs/bot/index.js +1 -1
- package/dist/cjs/errors.d.ts +10 -0
- package/dist/cjs/errors.js +38 -0
- package/dist/cjs/index.d.ts +7 -3
- package/dist/cjs/index.js +22 -8
- package/dist/cjs/models/Ark/index.js +1 -1
- package/dist/cjs/models/DashScope/index.js +1 -1
- package/dist/cjs/models/DeepSeek/index.js +1 -1
- package/dist/cjs/models/Default/index.js +1 -1
- package/dist/cjs/models/HunYuan/index.js +1 -1
- package/dist/cjs/models/HunYuan/util.js +1 -1
- package/dist/cjs/models/HunYuanBeta/index.js +1 -1
- package/dist/cjs/models/HunYuanExp/index.js +1 -1
- package/dist/cjs/models/HunYuanOpen/index.js +1 -1
- package/dist/cjs/models/Moonshot/index.js +1 -1
- package/dist/cjs/models/Yi/index.js +1 -1
- package/dist/cjs/models/ZhiPu/index.js +1 -1
- package/dist/cjs/models/image-model.d.ts +19 -0
- package/dist/cjs/models/image-model.js +106 -0
- package/dist/cjs/models/index.d.ts +2 -1
- package/dist/cjs/models/index.js +4 -2
- package/dist/cjs/models/model.js +1 -1
- package/dist/cjs/type.d.ts +81 -0
- package/dist/cjs/type.js +1 -1
- package/dist/cjs/utils.d.ts +1 -1
- package/dist/cjs/utils.js +9 -4
- package/dist/esm/AI.d.ts +6 -3
- package/dist/esm/AI.js +67 -24
- package/dist/esm/bot/index.js +1 -1
- package/dist/esm/errors.d.ts +10 -0
- package/dist/esm/errors.js +35 -0
- package/dist/esm/index.d.ts +7 -3
- package/dist/esm/index.js +21 -8
- package/dist/esm/models/Ark/index.js +1 -1
- package/dist/esm/models/DashScope/index.js +1 -1
- package/dist/esm/models/DeepSeek/index.js +1 -1
- package/dist/esm/models/Default/index.js +1 -1
- package/dist/esm/models/HunYuan/index.js +1 -1
- package/dist/esm/models/HunYuan/util.js +1 -1
- package/dist/esm/models/HunYuanBeta/index.js +1 -1
- package/dist/esm/models/HunYuanExp/index.js +1 -1
- package/dist/esm/models/HunYuanOpen/index.js +1 -1
- package/dist/esm/models/Moonshot/index.js +1 -1
- package/dist/esm/models/Yi/index.js +1 -1
- package/dist/esm/models/ZhiPu/index.js +1 -1
- package/dist/esm/models/image-model.d.ts +19 -0
- package/dist/esm/models/image-model.js +103 -0
- package/dist/esm/models/index.d.ts +2 -1
- package/dist/esm/models/index.js +3 -2
- package/dist/esm/models/model.js +1 -1
- package/dist/esm/type.d.ts +81 -0
- package/dist/esm/type.js +1 -1
- package/dist/esm/utils.d.ts +1 -1
- package/dist/esm/utils.js +9 -4
- package/dist/miniprogram/index.js +1 -1
- package/dist/miniprogram/index.js.LICENSE.txt +2 -2
- package/package.json +4 -4
- package/src/AI.ts +64 -17
- package/src/bot/index.ts +2 -0
- package/src/errors.ts +23 -0
- package/src/index.ts +27 -7
- package/src/models/Ark/index.ts +2 -0
- package/src/models/DashScope/index.ts +2 -0
- package/src/models/DeepSeek/index.ts +2 -0
- package/src/models/Default/index.ts +2 -0
- package/src/models/HunYuan/index.ts +2 -0
- package/src/models/HunYuan/util.ts +2 -0
- package/src/models/HunYuanBeta/index.ts +2 -0
- package/src/models/HunYuanExp/index.ts +2 -0
- package/src/models/HunYuanOpen/index.ts +2 -0
- package/src/models/Moonshot/index.ts +3 -0
- package/src/models/Yi/index.ts +2 -0
- package/src/models/ZhiPu/index.ts +2 -0
- package/src/models/image-model.ts +100 -0
- package/src/models/index.ts +2 -0
- package/src/models/model.ts +2 -0
- package/src/type.ts +216 -1
- package/src/utils.ts +21 -4
- package/tsconfig.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,1164 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [4.0.0](https://github.com/TencentCloudBase/cloudbase-js-sdk/compare/v3.3.13...v4.0.0) (2026-07-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ai:** 兼容 Node 适配器非流式响应为普通对象的场景 ([eed0c0d](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/eed0c0da55fe6af6bd728d97fa769e248f74237f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* add registerHost ([f738301](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/f738301b73563deb5ab6f5bfbb7c42ee8fe3d1fc))
|
|
17
|
+
* **ai:** 支持 hunyuan-image 模型正则匹配路由 ([310d617](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/310d617076bda96561d23f1a504b4f06328f1046))
|
|
18
|
+
* **ai:** 新增 hunyuan AR 图生图模型与垫图参数 ([2978b8b](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/2978b8b8f957fd33a1ce5db79971a66d3a0c1c73))
|
|
19
|
+
* **ai:** 添加图片模型参数校验及标准错误类 ([41f969f](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/41f969f558dfc0a8f718744bf926ddc9420367a9))
|
|
20
|
+
* type define ([0566e48](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/0566e489fb864cae3c2f027f05fd81514072302a))
|
|
21
|
+
* update node polyfill ([451c910](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/451c910cc64da8b900393362824e1c4d052f9f04))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# 3.7.0 (2026-07-27)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* **ai:** 兼容 Node 适配器非流式响应为普通对象的场景 ([eed0c0d](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/eed0c0da55fe6af6bd728d97fa769e248f74237f))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Features
|
|
36
|
+
|
|
37
|
+
* add registerHost ([f738301](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/f738301b73563deb5ab6f5bfbb7c42ee8fe3d1fc))
|
|
38
|
+
* **ai:** 支持 hunyuan-image 模型正则匹配路由 ([310d617](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/310d617076bda96561d23f1a504b4f06328f1046))
|
|
39
|
+
* **ai:** 新增 hunyuan AR 图生图模型与垫图参数 ([2978b8b](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/2978b8b8f957fd33a1ce5db79971a66d3a0c1c73))
|
|
40
|
+
* **ai:** 添加图片模型参数校验及标准错误类 ([41f969f](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/41f969f558dfc0a8f718744bf926ddc9420367a9))
|
|
41
|
+
* type define ([0566e48](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/0566e489fb864cae3c2f027f05fd81514072302a))
|
|
42
|
+
* update node polyfill ([451c910](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/451c910cc64da8b900393362824e1c4d052f9f04))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## 3.3.13 (2026-05-29)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
## 3.3.12 (2026-05-28)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## 3.3.11 (2026-05-26)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
## 3.3.10 (2026-05-19)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## 3.3.9 (2026-05-08)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
## 3.3.8 (2026-05-07)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
## 3.3.7 (2026-05-06)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
## 3.3.6 (2026-04-30)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## 3.3.5 (2026-04-29)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
## 3.3.4 (2026-04-21)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
## 3.3.3 (2026-04-17)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
## 3.3.2 (2026-04-13)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
## 3.3.1 (2026-04-08)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
# 3.3.0 (2026-04-08)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
## 3.2.2 (2026-04-02)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
## 3.2.1 (2026-03-24)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
# 3.2.0 (2026-03-23)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
## 3.1.12 (2026-03-19)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
## 3.1.11 (2026-03-16)
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
## 3.1.10 (2026-03-13)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## 3.1.9 (2026-03-13)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
## 3.1.8 (2026-03-12)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
## 3.1.6 (2026-03-11)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
## 3.1.5 (2026-03-11)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
## 3.1.4 (2026-03-11)
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
## 3.1.3 (2026-03-10)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
## 3.1.3-beta.1 (2026-03-10)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
## 3.1.3-beta.0 (2026-03-10)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
### Features
|
|
158
|
+
|
|
159
|
+
* update test case ([bd2aeef](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/bd2aeef4653882df2333ac6b9e261065a4f3c763))
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
## 3.1.2 (2026-03-06)
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
## 3.1.1 (2026-03-03)
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
# 3.1.0 (2026-03-03)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
## 3.0.6 (2026-03-03)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
## 3.0.5 (2026-03-02)
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
## 3.0.4 (2026-03-02)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
## 3.0.3 (2026-02-26)
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
## 3.0.2 (2026-02-12)
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
## 3.0.1 (2026-02-10)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
## 2.25.4 (2026-02-03)
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
## 2.25.3 (2026-01-28)
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
## 2.25.2 (2026-01-26)
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
## 2.25.1 (2026-01-22)
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
# 2.25.0 (2026-01-22)
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
## 2.24.10 (2026-01-14)
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
## 2.24.9 (2026-01-13)
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
## 2.24.8 (2026-01-12)
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
## 2.24.8-beta.0 (2026-01-12)
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
## 2.24.7 (2026-01-09)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
### Features
|
|
239
|
+
|
|
240
|
+
* **ai:** add hunyuan AR image model support with dynamic subUrl routing ([86faf0d](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/86faf0d6901ca66ef0631eb1059a8833f03f7563))
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
## 2.24.6 (2026-01-08)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
## 2.24.5 (2026-01-06)
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
## 2.24.4 (2026-01-06)
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
## 2.24.3 (2025-12-31)
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
## 2.24.2 (2025-12-31)
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
## 2.24.1 (2025-12-30)
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
# 2.24.0 (2025-12-29)
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
## 2.23.3 (2025-12-24)
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
### Features
|
|
276
|
+
|
|
277
|
+
* update ai type ([1fdf620](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/1fdf62084c565c0a5ec35fd5b02949eb23b03b01))
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
## 2.23.2 (2025-12-24)
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
## 2.23.1 (2025-12-17)
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
## 2.23.1-beta.1 (2025-12-17)
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
### Bug Fixes
|
|
293
|
+
|
|
294
|
+
* type ([cc9742f](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/cc9742ff033c8f8e1ae5f7c280fdf978124e5d87))
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
## 2.23.1-beta.0 (2025-12-17)
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
### Bug Fixes
|
|
302
|
+
|
|
303
|
+
* use hunyuan-image ([080c718](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/080c71897b284a777c22acd4fd07c89cad76260f))
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
# 2.23.0 (2025-12-12)
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
## 2.22.11-beta.5 (2025-12-10)
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
## 2.22.11-beta.4 (2025-12-10)
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
## 2.22.11-beta.3 (2025-12-10)
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
## 2.22.11-beta.2 (2025-12-10)
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
## 2.22.11-beta.1 (2025-12-10)
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
## 2.22.11-beta.0 (2025-12-10)
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
### Features
|
|
335
|
+
|
|
336
|
+
* ai create image ([23f1ce9](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/23f1ce9c40930a28709380cfca3b0f4a05ca3c8d))
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
## 2.22.10 (2025-12-03)
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
### Features
|
|
344
|
+
|
|
345
|
+
* regist to window ([46f8f01](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/46f8f01e6ca906361cb234f439c2449a147e2339))
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
## 2.22.9 (2025-11-19)
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
## 2.22.8 (2025-11-19)
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
## 2.22.7 (2025-11-19)
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
## 2.22.6 (2025-11-17)
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
## 2.22.5 (2025-11-12)
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
## 2.22.4 (2025-11-05)
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
## 2.22.3 (2025-11-05)
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
### Features
|
|
377
|
+
|
|
378
|
+
* update eslint tsconfig ([5966a4d](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/5966a4d5bd236524607933462de8ff23a0b03dfe))
|
|
379
|
+
* update version to 2.22.2 ([0a323b6](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/0a323b62b938b7a286b6788ef124f4d5487d8801))
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
## 2.22.1 (2025-10-22)
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
# 2.22.0 (2025-10-22)
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
## 2.21.10 (2025-10-17)
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
## 2.21.9 (2025-09-17)
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
## 2.21.8 (2025-09-16)
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
## 2.21.7 (2025-09-16)
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
## 2.21.6 (2025-08-28)
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
## 2.21.5 (2025-08-27)
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
## 2.21.4 (2025-08-27)
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
## 2.21.3 (2025-08-21)
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
## 2.21.2 (2025-08-21)
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
## 2.21.1 (2025-08-20)
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
# 2.21.0 (2025-08-14)
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
## 2.20.14 (2025-08-13)
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
## 2.20.13 (2025-08-11)
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
## 2.20.12 (2025-08-11)
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
### Features
|
|
447
|
+
|
|
448
|
+
* update version to 2.20.11 ([ccb645a](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/ccb645a943e2bfb9cac8ec0f688b551132b3c69b))
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
## 2.20.10 (2025-08-11)
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
## 2.20.8 (2025-08-11)
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
## 2.20.7 (2025-08-11)
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
## 2.20.6 (2025-08-08)
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
### Features
|
|
468
|
+
|
|
469
|
+
* update ([b161ea9](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/b161ea9081df867276cdf7d349acb18f29b57c35))
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
## 2.20.4 (2025-08-08)
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
## 2.20.3 (2025-08-07)
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
## 2.20.2 (2025-08-06)
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
## 2.20.1 (2025-08-06)
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
# 2.20.0 (2025-08-06)
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
### Features
|
|
493
|
+
|
|
494
|
+
* version ([742c5da](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/742c5daaa494fd54f99e220a06f388df6766f740))
|
|
495
|
+
* version ([a3ed3bd](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/a3ed3bdfdd95790349e093c4bbaa3dd91e1c970f))
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
# 4.0.0 (2025-08-06)
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
# 3.0.0 (2025-08-06)
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
## 2.19.7 (2025-08-06)
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
## 2.19.6 (2025-08-04)
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
## 2.19.5 (2025-08-01)
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
## 2.19.4 (2025-08-01)
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
### Features
|
|
523
|
+
|
|
524
|
+
* update package.json ([c0c0f66](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/c0c0f6685765cd7a496f48ef49bc921c560e34fd))
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
## 2.19.3 (2025-08-01)
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
### Features
|
|
532
|
+
|
|
533
|
+
* add lang ([4ace88c](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/4ace88c2e29abd0da01a3c5ffbbb9d464d2ba848))
|
|
534
|
+
* add updateLang ([7b6f00a](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/7b6f00a6da206b10d1fbf177bebe1cb8cd64671c))
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
## 2.19.2 (2025-07-23)
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
## 2.19.1 (2025-07-23)
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
# 2.19.0 (2025-07-23)
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
## 2.18.4 (2025-07-22)
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
### Bug Fixes
|
|
554
|
+
|
|
555
|
+
* update conversation endpoints to include botId in url paths ([77a7e0b](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/77a7e0b1b8c5fd158b2c81dc4857d45a5038f99c))
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
### Features
|
|
559
|
+
|
|
560
|
+
* add exact ([e679527](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/e679527c670795e63d4c7ce35f87981bf8a9fafa))
|
|
561
|
+
* lock version ([46f59eb](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/46f59eb90471a61608c963a4a0225c9defbcea95))
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
## 2.18.2 (2025-07-18)
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
## 2.18.1 (2025-07-18)
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
# 2.18.0 (2025-07-16)
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
## 2.17.17 (2025-07-14)
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
## 2.17.16 (2025-07-14)
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
## 2.17.15 (2025-07-05)
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
## 2.17.14 (2025-07-04)
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
## 2.17.13 (2025-07-03)
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
## 2.17.12 (2025-07-03)
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
### Features
|
|
601
|
+
|
|
602
|
+
* update dealUserAdapter ([eb25f49](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/eb25f4927c2e22f7e65aa96106b0b324f933bac3))
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
## 2.17.10 (2025-07-03)
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
### Features
|
|
610
|
+
|
|
611
|
+
* update @cloudbase/adapter-interface to 0.7.1 ([df923b0](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/df923b0c5841d36e34b10111a28fa0d11d897328))
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
## 2.17.9 (2025-07-02)
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
## 2.17.8 (2025-07-01)
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
## 2.17.7 (2025-07-01)
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
## 2.17.6 (2025-06-25)
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
## 2.17.5 (2025-06-23)
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
## 2.17.4 (2025-06-19)
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
## 2.17.3 (2025-05-28)
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
### Bug Fixes
|
|
643
|
+
|
|
644
|
+
* fix ai url ([f65d3c0](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/f65d3c02d9487d36853737b6b6557e8af80e98c6))
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
## 2.17.2 (2025-05-26)
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
# 2.17.0 (2025-05-22)
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
### Bug Fixes
|
|
656
|
+
|
|
657
|
+
* add default subpath ([c46173b](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/c46173b876a3fd48f3c9d5e999866427e66e1d3a))
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
# 2.15.0 (2025-05-06)
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
### Bug Fixes
|
|
665
|
+
|
|
666
|
+
* type ([34a6393](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/34a6393983f838d0aa7dfd031a52bdbe7cc35fa0))
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
### Features
|
|
670
|
+
|
|
671
|
+
* default model ([95c5808](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/95c5808e5423a7c66bc68054c488fc1d39e0f7f3))
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
# 2.14.0 (2025-04-25)
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
### Bug Fixes
|
|
679
|
+
|
|
680
|
+
* fix props ([01cf495](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/01cf495bd60d664264c8762ebc0c9651b21cffbb))
|
|
681
|
+
* typo ([437d533](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/437d533e051c50c8d551d1f33c9c725a212f9409))
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
### Features
|
|
685
|
+
|
|
686
|
+
* bot add voice support ([a562104](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/a562104a7ce23369ae195fe575049576861d7165))
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
# 2.13.0 (2025-04-21)
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
### Bug Fixes
|
|
694
|
+
|
|
695
|
+
* check response type ([5b8c2f1](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/5b8c2f1d5b70f91df169183b2b592d114416aeae))
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
### Features
|
|
699
|
+
|
|
700
|
+
* support multi conversation in bot ([9e4b047](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/9e4b047ca81359239f44e37dd76fb3a949335b69))
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
## 2.12.1 (2025-04-14)
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
### Bug Fixes
|
|
708
|
+
|
|
709
|
+
* add timeout to llm ([41bde40](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/41bde401eac9a30b37ca8e03ac6f317455c3d5be))
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
# 2.12.0 (2025-04-14)
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
### Bug Fixes
|
|
717
|
+
|
|
718
|
+
* fix prop passing and deps ([8fe0372](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/8fe0372a15e652d421d9f8e93070249c053357ce))
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
### Features
|
|
722
|
+
|
|
723
|
+
* add timeout to ai ([c4630f9](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/c4630f9ebbe6dfd83b1a277cc54042535d82656c))
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
# 2.11.0 (2025-03-20)
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
# 2.10.0 (2025-03-14)
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
### Features
|
|
735
|
+
|
|
736
|
+
* add upload file method ([47afe6b](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/47afe6b1b8e35bccb12f4a32161f87accec4ef94))
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
## 2.9.8 (2025-03-06)
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
## 2.9.7 (2025-03-05)
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
## 2.9.6 (2025-03-05)
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
### Bug Fixes
|
|
752
|
+
|
|
753
|
+
* check possible null tool call ([903dff8](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/903dff8324986676dc18a275b8146a91b2208f45))
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
## 2.9.6-alpha.0 (2025-03-05)
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
## 2.9.5-alpha.0 (2025-03-05)
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
## 2.9.4-alpha.0 (2025-03-05)
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
## 2.9.3 (2025-02-26)
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
### Bug Fixes
|
|
773
|
+
|
|
774
|
+
* check header.get ([bbd8fff](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/bbd8fff092e3804169b8c09a2eb6476f36cd0e2a))
|
|
775
|
+
* end stream when done ([239affb](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/239affb7693629df2a05f74e99ca5ac40db2bbb7))
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
## 2.9.1 (2025-02-10)
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
### Bug Fixes
|
|
783
|
+
|
|
784
|
+
* handle error and print text ([48b11fc](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/48b11fc10923823be59c8a9e6510724ad4c285f2))
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
# 2.9.0 (2025-02-08)
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
### Features
|
|
792
|
+
|
|
793
|
+
* add deepseek ([71dadfc](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/71dadfc7d3c1643020b5d1354852811527b3817c))
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
## 2.8.35 (2025-01-21)
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
### Bug Fixes
|
|
801
|
+
|
|
802
|
+
* fix ai bot url ([0c80d9c](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/0c80d9ccf08c24210e98fd9899be264073113afc))
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
## 2.8.34 (2024-12-30)
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
### Bug Fixes
|
|
810
|
+
|
|
811
|
+
* restore old models ([da5bb23](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/da5bb23aefba8f21f24016c19bcab60d1f8bc5f6))
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
## 2.8.33 (2024-12-30)
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
### Bug Fixes
|
|
819
|
+
|
|
820
|
+
* add hunyuan-exp, hunyuan-open; remove others exclude hunyuan ([14a5259](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/14a5259a01b03420ccfe27041debe93f33080e6b))
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
## 2.8.32 (2024-12-26)
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
## 2.8.31 (2024-12-25)
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
## 2.8.30 (2024-12-25)
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
### Features
|
|
836
|
+
|
|
837
|
+
* update to next ([8471bc7](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/8471bc7aa12bc7df8017311c6eb870b1cf26a8eb))
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
## 2.8.29-beta.0 (2024-12-24)
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
## 2.8.28-beta.0 (2024-12-23)
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
## 2.8.27-beta.0 (2024-12-19)
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
## 2.8.26-beta.0 (2024-11-29)
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
### Bug Fixes
|
|
857
|
+
|
|
858
|
+
* add Accept header when streaming ([8d88a3b](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/8d88a3b9b58c4e179d53ade64d864d60cb33c75b))
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
## 2.8.25-beta.0 (2024-11-25)
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
### Bug Fixes
|
|
866
|
+
|
|
867
|
+
* log parsing json error with original chunk ([6b4c2e9](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/6b4c2e917c2dab5896f3d45faf5504f713944408))
|
|
868
|
+
* upgrade adapter interface and mp adapter ([98dd4d5](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/98dd4d55c30348c3ec616dd1093ec95ebb1d89c0))
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
## 2.8.24-beta.0 (2024-11-20)
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
### Bug Fixes
|
|
876
|
+
|
|
877
|
+
* fix user tool to model tool util ([39c2f43](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/39c2f431aa6d3dd8f15d9cab12de1318d12cb98f))
|
|
878
|
+
* tool.function.parameter should be object ([a13ec2e](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/a13ec2e375607aa4811940500eed2e51868c811a))
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
## 2.8.23-beta.0 (2024-11-14)
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
### Bug Fixes
|
|
886
|
+
|
|
887
|
+
* make model input camel case ([63627d1](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/63627d1b5a8e39f13d4fe81950187a3c2a3c14fe))
|
|
888
|
+
* remove snake case ([ba9ea16](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/ba9ea1646da8c663b6e0c357039a52d9eabe560c))
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
## 2.8.22-beta.0 (2024-11-11)
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
### Bug Fixes
|
|
896
|
+
|
|
897
|
+
* refactor ([0dc6806](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/0dc68064baede570ab183bd2c7e5253c70f8e676))
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
## 2.8.21-beta.0 (2024-11-11)
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
### Bug Fixes
|
|
905
|
+
|
|
906
|
+
* easily add tool ([289f0ed](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/289f0edef2c03ee1165cfd17d02cdc00a456be00))
|
|
907
|
+
* fix zhipu process input ([b483d2c](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/b483d2c4184357a647ef0ec7204ea04b89a5c5b9))
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
## 2.8.20-beta.0 (2024-11-08)
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
### Bug Fixes
|
|
915
|
+
|
|
916
|
+
* add raw response to generate text return value ([419001f](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/419001f7266d67cee665e3d10f7ba6435215225d))
|
|
917
|
+
* add zhipu's langchain impl ([9387ec6](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/9387ec6c093065279786a7620d3626e97461525b))
|
|
918
|
+
* calc and return usage ([c1de58a](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/c1de58af820cbf9f5e83be56b1a780e61fdcd6d6))
|
|
919
|
+
* fix output property ([f800593](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/f800593e02f41ef6e8b3e74463d914fa536a6d37))
|
|
920
|
+
* fix tool call types ([ebb7cc5](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/ebb7cc5d3bc6dfe9a96b5d6a3c529092c3b23f68))
|
|
921
|
+
* fix type ([111a215](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/111a2150d2564620ec6f9c0ff13be44983769811))
|
|
922
|
+
* fix type ([0db73fb](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/0db73fb75515898e76853359a0d4fec2934d2c04))
|
|
923
|
+
* fix type def ([d059669](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/d059669937eb7e8b97ba33ee0e268fcb9d8c55e8))
|
|
924
|
+
* fix zhipu type ([96a17ad](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/96a17ad64c7d00555f0e127c097cc9ab5b18701b))
|
|
925
|
+
* fix zhipu type; fix zhipu tool call check ([37b14ce](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/37b14ce3a24d7c2e6e91d9f2e39b7e9ac4150196))
|
|
926
|
+
* if contain tool call, finish reason should be tool_calls ([1abba40](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/1abba4057a51e4082e147d8ae838521e47995d2d))
|
|
927
|
+
* impl ark simple model ([2ba136e](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/2ba136e6678a068c960c7dbc19004ae7cd89f0a4))
|
|
928
|
+
* impl dashscope simple model ([1ad700d](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/1ad700d7516a326e0c207aa2f8d970317296a89c))
|
|
929
|
+
* impl generate text with tool call ([8d3b3b4](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/8d3b3b4dd15a300a8eb2f71d1263ac9c98325c94))
|
|
930
|
+
* impl hunyuan simple model ([ece4159](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/ece415987fd899e2ad1407425b25f1f490b6122e))
|
|
931
|
+
* impl moonshot simple model ([1abc43f](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/1abc43f2244dfb905401d242e748c9aab5eaa76c))
|
|
932
|
+
* impl onStepFinish and max step ([7fc2c8a](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/7fc2c8a924ac8bbcf525a938959c91788f983a4d))
|
|
933
|
+
* impl stream text with tool call ([bb61384](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/bb613841808dee51b4cdd4b1e7b1d5afc5ada2f4))
|
|
934
|
+
* impl Yi simple model ([a1f47d3](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/a1f47d3d4a1f8b354775f73ac9ced76857f8d2f0))
|
|
935
|
+
* impl zhipu SimpleChatModel ([41581fb](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/41581fb52faddffb800985fc7b07d8b21b20b53b))
|
|
936
|
+
* remove langchain ([107efb1](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/107efb172ae55aaa201fb8f8ad6b2bc64e80f95f))
|
|
937
|
+
* replace old models ([f484829](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/f4848299c2ae8b9a16d25ae303b7c81eb41b9f37))
|
|
938
|
+
* separate AI class ([13d81e6](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/13d81e6f0f10bf41c212d82f01c4400f7b152ee4))
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
## 2.8.19-beta.0 (2024-10-30)
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
## 2.8.18-beta.0 (2024-10-28)
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
## 2.8.17-beta.0 (2024-10-23)
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
## 2.8.16-beta.0 (2024-10-23)
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
## 2.8.15-beta.0 (2024-10-11)
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
### Bug Fixes
|
|
962
|
+
|
|
963
|
+
* add dependency ([2f57cca](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/2f57cca8d6815928d5b6d08e18e97d063cb8e2a5))
|
|
964
|
+
* create ai with more default options ([464f3dc](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/464f3dca624f3567a7ac1c0a371f90cac688b3a1))
|
|
965
|
+
* fix gateway endpoint ([8904f43](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/8904f43a54c3be1191f3c91829cc0d530bf81058))
|
|
966
|
+
* fix gateway path ([c990e63](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/c990e630aa88a38e5ac1c5736c9d0521f5eeeeb3))
|
|
967
|
+
* fix naming ([31e2d1d](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/31e2d1d414700c16ed9b8452b33fc31db4e8a9bc))
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
## 2.8.14-beta.0 (2024-10-09)
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
## 2.8.13-beta.0 (2024-10-09)
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
## 2.8.12-beta.0 (2024-10-09)
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
### Bug Fixes
|
|
983
|
+
|
|
984
|
+
* set and get gateway endpoint from single source ([2192620](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/219262019a38def787b62cb13146099eed56569b))
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
## 2.8.11-beta.0 (2024-09-30)
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
## 2.8.10-beta.0 (2024-09-25)
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
### Bug Fixes
|
|
996
|
+
|
|
997
|
+
* fix hunyuan output response property ([f251039](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/f251039a121d447816a2cd3aa7f61f84b8c2403e))
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
## 2.8.9-beta.0 (2024-09-23)
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
## 2.8.8-beta.0 (2024-09-23)
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
## 2.8.7-beta.0 (2024-09-20)
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
### Bug Fixes
|
|
1013
|
+
|
|
1014
|
+
* fix hunyuan output handling ([b970083](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/b97008385ffe2a521b41835dcce9b29bd2c968c5))
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
## 2.8.6-beta.0 (2024-09-19)
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
### Features
|
|
1022
|
+
|
|
1023
|
+
* update eventsource-parser use local & fix import version from package ([98e3278](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/98e3278b2b180c0804e1580052a1632a9742a956))
|
|
1024
|
+
* update js-sdk version ([fb5d728](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/fb5d7282d18d5a605b89a388c66ef40574e72126))
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
## 2.8.4-beta.0 (2024-09-12)
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
## 2.8.3-beta.0 (2024-09-10)
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
### Bug Fixes
|
|
1036
|
+
|
|
1037
|
+
* fix bot sdk api naming ([b8a449b](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/b8a449b34be1085b1802f0035c513e501915bc78))
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
## 2.8.2-beta.0 (2024-09-09)
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
### Bug Fixes
|
|
1045
|
+
|
|
1046
|
+
* fix unit8array decode ([1e9c4c1](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/1e9c4c1833c2b3934fac1ccf8d04ac4057647ff9))
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
## 2.8.1-beta.0 (2024-09-09)
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
# 2.8.0-beta.0 (2024-09-09)
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
### Bug Fixes
|
|
1058
|
+
|
|
1059
|
+
* add TextDecoder polyfill, add node type ([021fe54](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/021fe54f2eba169b1fad18f06e8b43042d8fcb84))
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
## 2.7.17-beta.0 (2024-09-09)
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
## 2.7.16-beta.0 (2024-09-09)
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
### Bug Fixes
|
|
1071
|
+
|
|
1072
|
+
* patch to PATCH ([0e72b15](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/0e72b1587107225a519fb43817cdfa49be6aa7ee))
|
|
1073
|
+
* remove ai stream JSON parse warning ([dc22804](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/dc228049067c9dda8ebe67508b3d6c878bef0d30))
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
### Features
|
|
1077
|
+
|
|
1078
|
+
* add part of ai bot ([c9a35e1](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/c9a35e1bff67c0d5213eb1dd83e0a0dba183d0b3))
|
|
1079
|
+
* ai bot ([da23f1e](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/da23f1e8a157579e0b22b4ffbf8e41392616302b))
|
|
1080
|
+
* ai bot sdk finished ([edd3fd4](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/edd3fd46a8203e55e7a4f7d35262cb90ed2061fa))
|
|
1081
|
+
* update ([34833f1](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/34833f17520875dd05e840c6b0c7ab8c0b41a8da))
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
## 2.7.14-beta.0 (2024-08-29)
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
## 2.7.13-beta.0 (2024-08-28)
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
## 2.7.12-beta.0 (2024-08-26)
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
## 2.7.11-beta.0 (2024-08-23)
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
## 2.7.10-beta.0 (2024-08-23)
|
|
1102
|
+
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
## 2.7.9-beta.0 (2024-08-23)
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
## 2.7.8-beta.0 (2024-08-23)
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
## 2.7.7-beta.0 (2024-08-22)
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
## 2.7.6-beta.0 (2024-08-22)
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
### Bug Fixes
|
|
1121
|
+
|
|
1122
|
+
* fix ai model name totally ([6dae54c](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/6dae54ce80e82e85117b089bdc9f75dcf00d53ae))
|
|
1123
|
+
* fix import ([167e833](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/167e8333147ada570e5a655986ab8ccf970e9fab))
|
|
1124
|
+
* update ai request path and ai model name ([05ae322](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/05ae32204ca884b3b7628bf4577abcebe99f322e))
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
## 2.7.5-beta.0 (2024-08-09)
|
|
1129
|
+
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
## 2.7.4-beta.0 (2024-08-09)
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
## 2.7.3-beta.0 (2024-08-08)
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+
## 2.7.2-beta.0 (2024-08-08)
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
### Bug Fixes
|
|
1144
|
+
|
|
1145
|
+
* add fetch method for adapter ([943145e](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/943145e3f05c6f05d20ac967451b7ca945689510))
|
|
1146
|
+
* add hunyuan model ([230aee7](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/230aee7a905cedbd01985560760daffa2058a0f8))
|
|
1147
|
+
* add more ai models ([7da8971](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/7da89714d89fb965dcab70f1ed5409f37f88522c))
|
|
1148
|
+
* ai module depends on cloudbase.request ([293feba](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/293feba64c7c6ea857254e715e270dd106144a16))
|
|
1149
|
+
* cloudbase.request.fetch auto carry token ([31074b3](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/31074b32c567d0a9e55d0a5fbac56027dcbf5f74))
|
|
1150
|
+
* export types and utils ([bc266ac](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/bc266ac673a5bf1151df471c5f9a91e3ff821c0d))
|
|
1151
|
+
* format and mp dist ([6881da1](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/6881da1950197352f775fe2b456226536b9e1b45))
|
|
1152
|
+
* passing config props ([aff4907](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/aff49076ccc507210cfb32ac852581cbab48b5d5))
|
|
1153
|
+
* register custom model ([87511a9](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/87511a99e762ae69534623a9882fb98db0e0bbcb))
|
|
1154
|
+
* remove unused prop ([7fff858](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/7fff85828b0a2b1bf36afc336809007fa86fde76))
|
|
1155
|
+
* remove zod dependency ([caa0aed](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/caa0aed3fb905b1775a577fe893a8d49f0f3cf7c))
|
|
1156
|
+
* stream polyfill ([1c21c98](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/1c21c980ab1175fd13f95126b6ef662809c5bc4c))
|
|
1157
|
+
* unify ai model input ([0b3c1fd](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/0b3c1fdc17f136bd762e9633b77c8a87d348cd41))
|
|
1158
|
+
* update dependencies ([b25ba59](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/b25ba59bb98c07e00e0751d8ccdef11a36ed845f))
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
### Features
|
|
1162
|
+
|
|
1163
|
+
* add ai module ([4507f29](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/4507f29cff5aa41ae50134e6fc71e315ab00d6a3))
|
|
1164
|
+
* web default adapter supports stream ([406d952](https://github.com/TencentCloudBase/cloudbase-js-sdk/commit/406d95227180f120b7734f813979c2c65d31bf59))
|