@ai-sdk/alibaba 2.0.0-beta.3 → 2.0.0-beta.31

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/CHANGELOG.md CHANGED
@@ -1,5 +1,256 @@
1
1
  # @ai-sdk/alibaba
2
2
 
3
+ ## 2.0.0-beta.31
4
+
5
+ ### Patch Changes
6
+
7
+ - f807e45: Extract shared `StreamingToolCallTracker` class into `@ai-sdk/provider-utils` to deduplicate streaming tool call handling across OpenAI-compatible providers. Also adds missing `generateId()` fallback for `toolCallId` in Alibaba's `doGenerate` path and ensures all providers finalize unfinished tool calls during stream flush.
8
+ - Updated dependencies [f807e45]
9
+ - @ai-sdk/provider-utils@5.0.0-beta.24
10
+ - @ai-sdk/openai-compatible@3.0.0-beta.29
11
+
12
+ ## 2.0.0-beta.30
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [350ea38]
17
+ - @ai-sdk/provider-utils@5.0.0-beta.23
18
+ - @ai-sdk/openai-compatible@3.0.0-beta.28
19
+
20
+ ## 2.0.0-beta.29
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [083947b]
25
+ - @ai-sdk/provider-utils@5.0.0-beta.22
26
+ - @ai-sdk/openai-compatible@3.0.0-beta.27
27
+
28
+ ## 2.0.0-beta.28
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [add1126]
33
+ - @ai-sdk/provider-utils@5.0.0-beta.21
34
+ - @ai-sdk/openai-compatible@3.0.0-beta.26
35
+
36
+ ## 2.0.0-beta.27
37
+
38
+ ### Patch Changes
39
+
40
+ - b3976a2: Add workflow serialization support to all provider models.
41
+
42
+ **`@ai-sdk/provider-utils`:** New `serializeModel()` helper that extracts only serializable properties from a model instance, filtering out functions and objects containing functions. Third-party provider authors can use this to add workflow support to their own models.
43
+
44
+ **All providers:** `headers` is now optional in provider config types. This is non-breaking — existing code that passes `headers` continues to work. Custom provider implementations that construct model configs manually can now omit `headers`, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.
45
+
46
+ All provider model classes now include `WORKFLOW_SERIALIZE` and `WORKFLOW_DESERIALIZE` static methods, enabling them to cross workflow step boundaries without serialization errors.
47
+
48
+ - Updated dependencies [b3976a2]
49
+ - Updated dependencies [ff5eba1]
50
+ - @ai-sdk/provider-utils@5.0.0-beta.20
51
+ - @ai-sdk/openai-compatible@3.0.0-beta.25
52
+ - @ai-sdk/provider@4.0.0-beta.12
53
+
54
+ ## 2.0.0-beta.26
55
+
56
+ ### Major Changes
57
+
58
+ - ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (`"type": "module"`). Consumers using `require()` must switch to ESM `import` syntax.
59
+
60
+ ### Patch Changes
61
+
62
+ - Updated dependencies [ef992f8]
63
+ - @ai-sdk/openai-compatible@3.0.0-beta.24
64
+ - @ai-sdk/provider@4.0.0-beta.11
65
+ - @ai-sdk/provider-utils@5.0.0-beta.19
66
+
67
+ ## 2.0.0-beta.25
68
+
69
+ ### Patch Changes
70
+
71
+ - 90e2d8a: chore: fix unused vars not being flagged by our lint tooling
72
+ - Updated dependencies [90e2d8a]
73
+ - @ai-sdk/openai-compatible@3.0.0-beta.23
74
+ - @ai-sdk/provider-utils@5.0.0-beta.18
75
+
76
+ ## 2.0.0-beta.24
77
+
78
+ ### Patch Changes
79
+
80
+ - Updated dependencies [3ae1786]
81
+ - @ai-sdk/provider-utils@5.0.0-beta.17
82
+ - @ai-sdk/openai-compatible@3.0.0-beta.22
83
+
84
+ ## 2.0.0-beta.23
85
+
86
+ ### Patch Changes
87
+
88
+ - Updated dependencies [176466a]
89
+ - @ai-sdk/provider@4.0.0-beta.10
90
+ - @ai-sdk/openai-compatible@3.0.0-beta.21
91
+ - @ai-sdk/provider-utils@5.0.0-beta.16
92
+
93
+ ## 2.0.0-beta.22
94
+
95
+ ### Patch Changes
96
+
97
+ - Updated dependencies [e311194]
98
+ - @ai-sdk/provider@4.0.0-beta.9
99
+ - @ai-sdk/openai-compatible@3.0.0-beta.20
100
+ - @ai-sdk/provider-utils@5.0.0-beta.15
101
+
102
+ ## 2.0.0-beta.21
103
+
104
+ ### Patch Changes
105
+
106
+ - Updated dependencies [34bd95d]
107
+ - Updated dependencies [008271d]
108
+ - @ai-sdk/provider@4.0.0-beta.8
109
+ - @ai-sdk/openai-compatible@3.0.0-beta.19
110
+ - @ai-sdk/provider-utils@5.0.0-beta.14
111
+
112
+ ## 2.0.0-beta.20
113
+
114
+ ### Patch Changes
115
+
116
+ - Updated dependencies [b0c2869]
117
+ - Updated dependencies [7e26e81]
118
+ - @ai-sdk/provider-utils@5.0.0-beta.13
119
+ - @ai-sdk/openai-compatible@3.0.0-beta.18
120
+
121
+ ## 2.0.0-beta.19
122
+
123
+ ### Patch Changes
124
+
125
+ - Updated dependencies [816ff67]
126
+ - @ai-sdk/openai-compatible@3.0.0-beta.17
127
+
128
+ ## 2.0.0-beta.18
129
+
130
+ ### Patch Changes
131
+
132
+ - Updated dependencies [46d1149]
133
+ - @ai-sdk/provider-utils@5.0.0-beta.12
134
+ - @ai-sdk/openai-compatible@3.0.0-beta.16
135
+
136
+ ## 2.0.0-beta.17
137
+
138
+ ### Patch Changes
139
+
140
+ - Updated dependencies [6fd51c0]
141
+ - @ai-sdk/provider-utils@5.0.0-beta.11
142
+ - @ai-sdk/provider@4.0.0-beta.7
143
+ - @ai-sdk/openai-compatible@3.0.0-beta.15
144
+
145
+ ## 2.0.0-beta.16
146
+
147
+ ### Patch Changes
148
+
149
+ - c29a26f: feat(provider): add support for provider references and uploading files as supported per provider
150
+ - Updated dependencies [c29a26f]
151
+ - @ai-sdk/openai-compatible@3.0.0-beta.14
152
+ - @ai-sdk/provider-utils@5.0.0-beta.10
153
+ - @ai-sdk/provider@4.0.0-beta.6
154
+
155
+ ## 2.0.0-beta.15
156
+
157
+ ### Patch Changes
158
+
159
+ - 38fc777: Add AI Gateway hint to provider READMEs
160
+ - Updated dependencies [38fc777]
161
+ - @ai-sdk/openai-compatible@3.0.0-beta.13
162
+
163
+ ## 2.0.0-beta.14
164
+
165
+ ### Patch Changes
166
+
167
+ - Updated dependencies [2e17091]
168
+ - @ai-sdk/provider-utils@5.0.0-beta.9
169
+ - @ai-sdk/openai-compatible@3.0.0-beta.12
170
+
171
+ ## 2.0.0-beta.13
172
+
173
+ ### Patch Changes
174
+
175
+ - Updated dependencies [986c6fd]
176
+ - Updated dependencies [493295c]
177
+ - @ai-sdk/provider-utils@5.0.0-beta.8
178
+ - @ai-sdk/openai-compatible@3.0.0-beta.11
179
+
180
+ ## 2.0.0-beta.12
181
+
182
+ ### Patch Changes
183
+
184
+ - Updated dependencies [1f509d4]
185
+ - @ai-sdk/provider-utils@5.0.0-beta.7
186
+ - @ai-sdk/provider@4.0.0-beta.5
187
+ - @ai-sdk/openai-compatible@3.0.0-beta.10
188
+
189
+ ## 2.0.0-beta.11
190
+
191
+ ### Patch Changes
192
+
193
+ - 74d520f: feat: migrate providers to support new top-level `reasoning` parameter
194
+ - Updated dependencies [74d520f]
195
+ - @ai-sdk/openai-compatible@3.0.0-beta.9
196
+
197
+ ## 2.0.0-beta.10
198
+
199
+ ### Patch Changes
200
+
201
+ - Updated dependencies [3887c70]
202
+ - @ai-sdk/provider-utils@5.0.0-beta.6
203
+ - @ai-sdk/provider@4.0.0-beta.4
204
+ - @ai-sdk/openai-compatible@3.0.0-beta.8
205
+
206
+ ## 2.0.0-beta.9
207
+
208
+ ### Patch Changes
209
+
210
+ - Updated dependencies [776b617]
211
+ - @ai-sdk/provider-utils@5.0.0-beta.5
212
+ - @ai-sdk/provider@4.0.0-beta.3
213
+ - @ai-sdk/openai-compatible@3.0.0-beta.7
214
+
215
+ ## 2.0.0-beta.8
216
+
217
+ ### Patch Changes
218
+
219
+ - Updated dependencies [61753c3]
220
+ - @ai-sdk/provider-utils@5.0.0-beta.4
221
+ - @ai-sdk/openai-compatible@3.0.0-beta.6
222
+
223
+ ## 2.0.0-beta.7
224
+
225
+ ### Patch Changes
226
+
227
+ - 811cd8e: fix(provider/alibaba): handle single-item content array cache control
228
+
229
+ ## 2.0.0-beta.6
230
+
231
+ ### Patch Changes
232
+
233
+ - Updated dependencies [f7d4f01]
234
+ - @ai-sdk/provider-utils@5.0.0-beta.3
235
+ - @ai-sdk/provider@4.0.0-beta.2
236
+ - @ai-sdk/openai-compatible@3.0.0-beta.5
237
+
238
+ ## 2.0.0-beta.5
239
+
240
+ ### Patch Changes
241
+
242
+ - Updated dependencies [5c2a5a2]
243
+ - @ai-sdk/provider@4.0.0-beta.1
244
+ - @ai-sdk/openai-compatible@3.0.0-beta.4
245
+ - @ai-sdk/provider-utils@5.0.0-beta.2
246
+
247
+ ## 2.0.0-beta.4
248
+
249
+ ### Patch Changes
250
+
251
+ - Updated dependencies [8f3e1da]
252
+ - @ai-sdk/openai-compatible@3.0.0-beta.3
253
+
3
254
  ## 2.0.0-beta.3
4
255
 
5
256
  ### Patch Changes
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  The **[Alibaba provider](https://ai-sdk.dev/providers/ai-sdk-providers/alibaba)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for [Alibaba Cloud Model Studio](https://modelstudio.console.alibabacloud.com/), including the Qwen model series with advanced reasoning capabilities.
4
4
 
5
+ > **Deploying to Vercel?** With Vercel's AI Gateway you can access Alibaba (and hundreds of models from other providers) — no additional packages, API keys, or extra cost. [Get started with AI Gateway](https://vercel.com/ai-gateway).
6
+
5
7
  ## Setup
6
8
 
7
9
  The Alibaba provider is available in the `@ai-sdk/alibaba` module. You can install it with