@ai-sdk/togetherai 3.0.0-beta.5 → 3.0.0-beta.58
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 +491 -8
- package/README.md +2 -0
- package/dist/index.js +131 -115
- package/dist/index.js.map +1 -1
- package/package.json +15 -15
- package/src/index.ts +2 -2
- package/src/reranking/togetherai-reranking-api.ts +1 -1
- package/src/reranking/{togetherai-reranking-options.ts → togetherai-reranking-model-options.ts} +5 -1
- package/src/reranking/togetherai-reranking-model.ts +5 -6
- package/src/togetherai-image-model-options.ts +43 -0
- package/src/togetherai-image-model.ts +24 -46
- package/src/togetherai-provider.ts +7 -7
- package/dist/index.d.mts +0 -103
- package/dist/index.mjs +0 -354
- package/dist/index.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,488 @@
|
|
|
1
1
|
# @ai-sdk/togetherai
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.58
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [0416e3e]
|
|
8
|
+
- @ai-sdk/provider@4.0.0-beta.20
|
|
9
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.58
|
|
10
|
+
- @ai-sdk/provider-utils@5.0.0-beta.50
|
|
11
|
+
|
|
12
|
+
## 3.0.0-beta.57
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- b8396f0: trigger initial beta release
|
|
17
|
+
- Updated dependencies [b8396f0]
|
|
18
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.57
|
|
19
|
+
- @ai-sdk/provider-utils@5.0.0-beta.49
|
|
20
|
+
- @ai-sdk/provider@4.0.0-beta.19
|
|
21
|
+
|
|
22
|
+
## 3.0.0-canary.56
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies [aeda373]
|
|
27
|
+
- Updated dependencies [375fdd7]
|
|
28
|
+
- Updated dependencies [b4507d5]
|
|
29
|
+
- @ai-sdk/provider-utils@5.0.0-canary.48
|
|
30
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.56
|
|
31
|
+
|
|
32
|
+
## 3.0.0-canary.55
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- Updated dependencies [bae5e2b]
|
|
37
|
+
- @ai-sdk/provider-utils@5.0.0-canary.47
|
|
38
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.55
|
|
39
|
+
|
|
40
|
+
## 3.0.0-canary.54
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- Updated dependencies [ce769dd]
|
|
45
|
+
- @ai-sdk/provider@4.0.0-canary.18
|
|
46
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.54
|
|
47
|
+
- @ai-sdk/provider-utils@5.0.0-canary.46
|
|
48
|
+
|
|
49
|
+
## 3.0.0-canary.53
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- Updated dependencies [ee798eb]
|
|
54
|
+
- Updated dependencies [daf6637]
|
|
55
|
+
- @ai-sdk/provider-utils@5.0.0-canary.45
|
|
56
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.53
|
|
57
|
+
|
|
58
|
+
## 3.0.0-canary.52
|
|
59
|
+
|
|
60
|
+
### Patch Changes
|
|
61
|
+
|
|
62
|
+
- Updated dependencies [6c93e36]
|
|
63
|
+
- Updated dependencies [f617ac2]
|
|
64
|
+
- @ai-sdk/provider-utils@5.0.0-canary.44
|
|
65
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.52
|
|
66
|
+
|
|
67
|
+
## 3.0.0-canary.51
|
|
68
|
+
|
|
69
|
+
### Patch Changes
|
|
70
|
+
|
|
71
|
+
- Updated dependencies [9f1e1ba]
|
|
72
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.51
|
|
73
|
+
|
|
74
|
+
## 3.0.0-canary.50
|
|
75
|
+
|
|
76
|
+
### Patch Changes
|
|
77
|
+
|
|
78
|
+
- 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
|
|
79
|
+
- Updated dependencies [7fc6bd6]
|
|
80
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.50
|
|
81
|
+
- @ai-sdk/provider-utils@5.0.0-canary.43
|
|
82
|
+
- @ai-sdk/provider@4.0.0-canary.17
|
|
83
|
+
|
|
84
|
+
## 3.0.0-canary.49
|
|
85
|
+
|
|
86
|
+
### Patch Changes
|
|
87
|
+
|
|
88
|
+
- 2458cea: Fix: omit `seed` from request body when undefined to avoid "Unsupported use of 'seed' parameter" errors from non-diffusion models (e.g. google/gemini-3-pro-image)
|
|
89
|
+
- Updated dependencies [a6617c5]
|
|
90
|
+
- @ai-sdk/provider-utils@5.0.0-canary.42
|
|
91
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.49
|
|
92
|
+
|
|
93
|
+
## 3.0.0-canary.48
|
|
94
|
+
|
|
95
|
+
### Patch Changes
|
|
96
|
+
|
|
97
|
+
- Updated dependencies [28dfa06]
|
|
98
|
+
- Updated dependencies [e93fa91]
|
|
99
|
+
- @ai-sdk/provider-utils@5.0.0-canary.41
|
|
100
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.48
|
|
101
|
+
|
|
102
|
+
## 3.0.0-canary.47
|
|
103
|
+
|
|
104
|
+
### Patch Changes
|
|
105
|
+
|
|
106
|
+
- Updated dependencies [a7de9c9]
|
|
107
|
+
- @ai-sdk/provider-utils@5.0.0-canary.40
|
|
108
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.47
|
|
109
|
+
|
|
110
|
+
## 3.0.0-canary.46
|
|
111
|
+
|
|
112
|
+
### Patch Changes
|
|
113
|
+
|
|
114
|
+
- Updated dependencies [105f95b]
|
|
115
|
+
- @ai-sdk/provider-utils@5.0.0-canary.39
|
|
116
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.46
|
|
117
|
+
|
|
118
|
+
## 3.0.0-canary.45
|
|
119
|
+
|
|
120
|
+
### Patch Changes
|
|
121
|
+
|
|
122
|
+
- Updated dependencies [ca446f8]
|
|
123
|
+
- @ai-sdk/provider-utils@5.0.0-canary.38
|
|
124
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.45
|
|
125
|
+
|
|
126
|
+
## 3.0.0-canary.44
|
|
127
|
+
|
|
128
|
+
### Patch Changes
|
|
129
|
+
|
|
130
|
+
- Updated dependencies [d848405]
|
|
131
|
+
- @ai-sdk/provider-utils@5.0.0-canary.37
|
|
132
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.44
|
|
133
|
+
|
|
134
|
+
## 3.0.0-canary.43
|
|
135
|
+
|
|
136
|
+
### Patch Changes
|
|
137
|
+
|
|
138
|
+
- Updated dependencies [ca39020]
|
|
139
|
+
- @ai-sdk/provider-utils@5.0.0-canary.36
|
|
140
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.43
|
|
141
|
+
|
|
142
|
+
## 3.0.0-canary.42
|
|
143
|
+
|
|
144
|
+
### Patch Changes
|
|
145
|
+
|
|
146
|
+
- Updated dependencies [f634bac]
|
|
147
|
+
- @ai-sdk/provider-utils@5.0.0-canary.35
|
|
148
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.42
|
|
149
|
+
|
|
150
|
+
## 3.0.0-canary.41
|
|
151
|
+
|
|
152
|
+
### Patch Changes
|
|
153
|
+
|
|
154
|
+
- Updated dependencies [69254e0]
|
|
155
|
+
- Updated dependencies [3015fc3]
|
|
156
|
+
- @ai-sdk/provider-utils@5.0.0-canary.34
|
|
157
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.41
|
|
158
|
+
|
|
159
|
+
## 3.0.0-canary.40
|
|
160
|
+
|
|
161
|
+
### Patch Changes
|
|
162
|
+
|
|
163
|
+
- Updated dependencies [2427d88]
|
|
164
|
+
- @ai-sdk/provider-utils@5.0.0-canary.33
|
|
165
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.40
|
|
166
|
+
|
|
167
|
+
## 3.0.0-canary.39
|
|
168
|
+
|
|
169
|
+
### Patch Changes
|
|
170
|
+
|
|
171
|
+
- Updated dependencies [5463d0d]
|
|
172
|
+
- @ai-sdk/provider-utils@5.0.0-canary.32
|
|
173
|
+
- @ai-sdk/provider@4.0.0-canary.16
|
|
174
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.39
|
|
175
|
+
|
|
176
|
+
## 3.0.0-canary.38
|
|
177
|
+
|
|
178
|
+
### Patch Changes
|
|
179
|
+
|
|
180
|
+
- Updated dependencies [cd9c311]
|
|
181
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.38
|
|
182
|
+
|
|
183
|
+
## 3.0.0-canary.37
|
|
184
|
+
|
|
185
|
+
### Patch Changes
|
|
186
|
+
|
|
187
|
+
- 0c4c275: trigger initial canary release
|
|
188
|
+
- Updated dependencies [0c4c275]
|
|
189
|
+
- @ai-sdk/openai-compatible@3.0.0-canary.37
|
|
190
|
+
- @ai-sdk/provider-utils@5.0.0-canary.31
|
|
191
|
+
- @ai-sdk/provider@4.0.0-canary.15
|
|
192
|
+
|
|
193
|
+
## 3.0.0-beta.36
|
|
194
|
+
|
|
195
|
+
### Patch Changes
|
|
196
|
+
|
|
197
|
+
- Updated dependencies [e59c955]
|
|
198
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.36
|
|
199
|
+
|
|
200
|
+
## 3.0.0-beta.35
|
|
201
|
+
|
|
202
|
+
### Major Changes
|
|
203
|
+
|
|
204
|
+
- 04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols
|
|
205
|
+
|
|
206
|
+
For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
|
|
207
|
+
|
|
208
|
+
### Patch Changes
|
|
209
|
+
|
|
210
|
+
- Updated dependencies [08d2129]
|
|
211
|
+
- Updated dependencies [04e9009]
|
|
212
|
+
- @ai-sdk/provider-utils@5.0.0-beta.30
|
|
213
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.35
|
|
214
|
+
|
|
215
|
+
## 3.0.0-beta.34
|
|
216
|
+
|
|
217
|
+
### Patch Changes
|
|
218
|
+
|
|
219
|
+
- 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
|
|
220
|
+
- Updated dependencies [9bd6512]
|
|
221
|
+
- Updated dependencies [258c093]
|
|
222
|
+
- Updated dependencies [b6783da]
|
|
223
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.34
|
|
224
|
+
- @ai-sdk/provider-utils@5.0.0-beta.29
|
|
225
|
+
- @ai-sdk/provider@4.0.0-beta.14
|
|
226
|
+
|
|
227
|
+
## 3.0.0-beta.33
|
|
228
|
+
|
|
229
|
+
### Patch Changes
|
|
230
|
+
|
|
231
|
+
- 9f0e36c: trigger release for all packages after provenance setup
|
|
232
|
+
- Updated dependencies [9f0e36c]
|
|
233
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.33
|
|
234
|
+
- @ai-sdk/provider@4.0.0-beta.13
|
|
235
|
+
- @ai-sdk/provider-utils@5.0.0-beta.28
|
|
236
|
+
|
|
237
|
+
## 3.0.0-beta.32
|
|
238
|
+
|
|
239
|
+
### Patch Changes
|
|
240
|
+
|
|
241
|
+
- Updated dependencies [ab81968]
|
|
242
|
+
- Updated dependencies [785fe16]
|
|
243
|
+
- Updated dependencies [67df0a0]
|
|
244
|
+
- Updated dependencies [befb78c]
|
|
245
|
+
- Updated dependencies [0458559]
|
|
246
|
+
- Updated dependencies [58a2ad7]
|
|
247
|
+
- Updated dependencies [5852c0a]
|
|
248
|
+
- Updated dependencies [fc92055]
|
|
249
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.32
|
|
250
|
+
- @ai-sdk/provider-utils@5.0.0-beta.27
|
|
251
|
+
|
|
252
|
+
## 3.0.0-beta.31
|
|
253
|
+
|
|
254
|
+
### Patch Changes
|
|
255
|
+
|
|
256
|
+
- Updated dependencies [2e98477]
|
|
257
|
+
- Updated dependencies [bfb756d]
|
|
258
|
+
- @ai-sdk/provider-utils@5.0.0-beta.26
|
|
259
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.31
|
|
260
|
+
|
|
261
|
+
## 3.0.0-beta.30
|
|
262
|
+
|
|
263
|
+
### Patch Changes
|
|
264
|
+
|
|
265
|
+
- Updated dependencies [eea8d98]
|
|
266
|
+
- @ai-sdk/provider-utils@5.0.0-beta.25
|
|
267
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.30
|
|
268
|
+
|
|
269
|
+
## 3.0.0-beta.29
|
|
270
|
+
|
|
271
|
+
### Patch Changes
|
|
272
|
+
|
|
273
|
+
- Updated dependencies [f807e45]
|
|
274
|
+
- @ai-sdk/provider-utils@5.0.0-beta.24
|
|
275
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.29
|
|
276
|
+
|
|
277
|
+
## 3.0.0-beta.28
|
|
278
|
+
|
|
279
|
+
### Patch Changes
|
|
280
|
+
|
|
281
|
+
- Updated dependencies [350ea38]
|
|
282
|
+
- @ai-sdk/provider-utils@5.0.0-beta.23
|
|
283
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.28
|
|
284
|
+
|
|
285
|
+
## 3.0.0-beta.27
|
|
286
|
+
|
|
287
|
+
### Patch Changes
|
|
288
|
+
|
|
289
|
+
- Updated dependencies [083947b]
|
|
290
|
+
- @ai-sdk/provider-utils@5.0.0-beta.22
|
|
291
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.27
|
|
292
|
+
|
|
293
|
+
## 3.0.0-beta.26
|
|
294
|
+
|
|
295
|
+
### Patch Changes
|
|
296
|
+
|
|
297
|
+
- Updated dependencies [add1126]
|
|
298
|
+
- @ai-sdk/provider-utils@5.0.0-beta.21
|
|
299
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.26
|
|
300
|
+
|
|
301
|
+
## 3.0.0-beta.25
|
|
302
|
+
|
|
303
|
+
### Patch Changes
|
|
304
|
+
|
|
305
|
+
- b3976a2: Add workflow serialization support to all provider models.
|
|
306
|
+
|
|
307
|
+
**`@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.
|
|
308
|
+
|
|
309
|
+
**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.
|
|
310
|
+
|
|
311
|
+
All provider model classes now include `WORKFLOW_SERIALIZE` and `WORKFLOW_DESERIALIZE` static methods, enabling them to cross workflow step boundaries without serialization errors.
|
|
312
|
+
|
|
313
|
+
- Updated dependencies [b3976a2]
|
|
314
|
+
- Updated dependencies [ff5eba1]
|
|
315
|
+
- @ai-sdk/provider-utils@5.0.0-beta.20
|
|
316
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.25
|
|
317
|
+
- @ai-sdk/provider@4.0.0-beta.12
|
|
318
|
+
|
|
319
|
+
## 3.0.0-beta.24
|
|
320
|
+
|
|
321
|
+
### Major Changes
|
|
322
|
+
|
|
323
|
+
- ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (`"type": "module"`). Consumers using `require()` must switch to ESM `import` syntax.
|
|
324
|
+
|
|
325
|
+
### Patch Changes
|
|
326
|
+
|
|
327
|
+
- Updated dependencies [ef992f8]
|
|
328
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.24
|
|
329
|
+
- @ai-sdk/provider@4.0.0-beta.11
|
|
330
|
+
- @ai-sdk/provider-utils@5.0.0-beta.19
|
|
331
|
+
|
|
332
|
+
## 3.0.0-beta.23
|
|
333
|
+
|
|
334
|
+
### Patch Changes
|
|
335
|
+
|
|
336
|
+
- 90e2d8a: chore: fix unused vars not being flagged by our lint tooling
|
|
337
|
+
- Updated dependencies [90e2d8a]
|
|
338
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.23
|
|
339
|
+
- @ai-sdk/provider-utils@5.0.0-beta.18
|
|
340
|
+
|
|
341
|
+
## 3.0.0-beta.22
|
|
342
|
+
|
|
343
|
+
### Patch Changes
|
|
344
|
+
|
|
345
|
+
- Updated dependencies [3ae1786]
|
|
346
|
+
- @ai-sdk/provider-utils@5.0.0-beta.17
|
|
347
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.22
|
|
348
|
+
|
|
349
|
+
## 3.0.0-beta.21
|
|
350
|
+
|
|
351
|
+
### Patch Changes
|
|
352
|
+
|
|
353
|
+
- Updated dependencies [176466a]
|
|
354
|
+
- @ai-sdk/provider@4.0.0-beta.10
|
|
355
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.21
|
|
356
|
+
- @ai-sdk/provider-utils@5.0.0-beta.16
|
|
357
|
+
|
|
358
|
+
## 3.0.0-beta.20
|
|
359
|
+
|
|
360
|
+
### Patch Changes
|
|
361
|
+
|
|
362
|
+
- Updated dependencies [e311194]
|
|
363
|
+
- @ai-sdk/provider@4.0.0-beta.9
|
|
364
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.20
|
|
365
|
+
- @ai-sdk/provider-utils@5.0.0-beta.15
|
|
366
|
+
|
|
367
|
+
## 3.0.0-beta.19
|
|
368
|
+
|
|
369
|
+
### Patch Changes
|
|
370
|
+
|
|
371
|
+
- Updated dependencies [34bd95d]
|
|
372
|
+
- Updated dependencies [008271d]
|
|
373
|
+
- @ai-sdk/provider@4.0.0-beta.8
|
|
374
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.19
|
|
375
|
+
- @ai-sdk/provider-utils@5.0.0-beta.14
|
|
376
|
+
|
|
377
|
+
## 3.0.0-beta.18
|
|
378
|
+
|
|
379
|
+
### Patch Changes
|
|
380
|
+
|
|
381
|
+
- Updated dependencies [b0c2869]
|
|
382
|
+
- Updated dependencies [7e26e81]
|
|
383
|
+
- @ai-sdk/provider-utils@5.0.0-beta.13
|
|
384
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.18
|
|
385
|
+
|
|
386
|
+
## 3.0.0-beta.17
|
|
387
|
+
|
|
388
|
+
### Patch Changes
|
|
389
|
+
|
|
390
|
+
- Updated dependencies [816ff67]
|
|
391
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.17
|
|
392
|
+
|
|
393
|
+
## 3.0.0-beta.16
|
|
394
|
+
|
|
395
|
+
### Patch Changes
|
|
396
|
+
|
|
397
|
+
- Updated dependencies [46d1149]
|
|
398
|
+
- @ai-sdk/provider-utils@5.0.0-beta.12
|
|
399
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.16
|
|
400
|
+
|
|
401
|
+
## 3.0.0-beta.15
|
|
402
|
+
|
|
403
|
+
### Patch Changes
|
|
404
|
+
|
|
405
|
+
- Updated dependencies [6fd51c0]
|
|
406
|
+
- @ai-sdk/provider-utils@5.0.0-beta.11
|
|
407
|
+
- @ai-sdk/provider@4.0.0-beta.7
|
|
408
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.15
|
|
409
|
+
|
|
410
|
+
## 3.0.0-beta.14
|
|
411
|
+
|
|
412
|
+
### Patch Changes
|
|
413
|
+
|
|
414
|
+
- Updated dependencies [c29a26f]
|
|
415
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.14
|
|
416
|
+
- @ai-sdk/provider-utils@5.0.0-beta.10
|
|
417
|
+
- @ai-sdk/provider@4.0.0-beta.6
|
|
418
|
+
|
|
419
|
+
## 3.0.0-beta.13
|
|
420
|
+
|
|
421
|
+
### Patch Changes
|
|
422
|
+
|
|
423
|
+
- 38fc777: Add AI Gateway hint to provider READMEs
|
|
424
|
+
- Updated dependencies [38fc777]
|
|
425
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.13
|
|
426
|
+
|
|
427
|
+
## 3.0.0-beta.12
|
|
428
|
+
|
|
429
|
+
### Patch Changes
|
|
430
|
+
|
|
431
|
+
- Updated dependencies [2e17091]
|
|
432
|
+
- @ai-sdk/provider-utils@5.0.0-beta.9
|
|
433
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.12
|
|
434
|
+
|
|
435
|
+
## 3.0.0-beta.11
|
|
436
|
+
|
|
437
|
+
### Patch Changes
|
|
438
|
+
|
|
439
|
+
- Updated dependencies [986c6fd]
|
|
440
|
+
- Updated dependencies [493295c]
|
|
441
|
+
- @ai-sdk/provider-utils@5.0.0-beta.8
|
|
442
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.11
|
|
443
|
+
|
|
444
|
+
## 3.0.0-beta.10
|
|
445
|
+
|
|
446
|
+
### Patch Changes
|
|
447
|
+
|
|
448
|
+
- Updated dependencies [1f509d4]
|
|
449
|
+
- @ai-sdk/provider-utils@5.0.0-beta.7
|
|
450
|
+
- @ai-sdk/provider@4.0.0-beta.5
|
|
451
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.10
|
|
452
|
+
|
|
453
|
+
## 3.0.0-beta.9
|
|
454
|
+
|
|
455
|
+
### Patch Changes
|
|
456
|
+
|
|
457
|
+
- Updated dependencies [74d520f]
|
|
458
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.9
|
|
459
|
+
|
|
460
|
+
## 3.0.0-beta.8
|
|
461
|
+
|
|
462
|
+
### Patch Changes
|
|
463
|
+
|
|
464
|
+
- Updated dependencies [3887c70]
|
|
465
|
+
- @ai-sdk/provider-utils@5.0.0-beta.6
|
|
466
|
+
- @ai-sdk/provider@4.0.0-beta.4
|
|
467
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.8
|
|
468
|
+
|
|
469
|
+
## 3.0.0-beta.7
|
|
470
|
+
|
|
471
|
+
### Patch Changes
|
|
472
|
+
|
|
473
|
+
- Updated dependencies [776b617]
|
|
474
|
+
- @ai-sdk/provider-utils@5.0.0-beta.5
|
|
475
|
+
- @ai-sdk/provider@4.0.0-beta.3
|
|
476
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.7
|
|
477
|
+
|
|
478
|
+
## 3.0.0-beta.6
|
|
479
|
+
|
|
480
|
+
### Patch Changes
|
|
481
|
+
|
|
482
|
+
- Updated dependencies [61753c3]
|
|
483
|
+
- @ai-sdk/provider-utils@5.0.0-beta.4
|
|
484
|
+
- @ai-sdk/openai-compatible@3.0.0-beta.6
|
|
485
|
+
|
|
3
486
|
## 3.0.0-beta.5
|
|
4
487
|
|
|
5
488
|
### Patch Changes
|
|
@@ -374,13 +857,13 @@
|
|
|
374
857
|
Before
|
|
375
858
|
|
|
376
859
|
```ts
|
|
377
|
-
model.textEmbeddingModel(
|
|
860
|
+
model.textEmbeddingModel("my-model-id");
|
|
378
861
|
```
|
|
379
862
|
|
|
380
863
|
After
|
|
381
864
|
|
|
382
865
|
```ts
|
|
383
|
-
model.embeddingModel(
|
|
866
|
+
model.embeddingModel("my-model-id");
|
|
384
867
|
```
|
|
385
868
|
|
|
386
869
|
- 95f65c2: chore: use import \* from zod/v4
|
|
@@ -610,13 +1093,13 @@
|
|
|
610
1093
|
Before
|
|
611
1094
|
|
|
612
1095
|
```ts
|
|
613
|
-
model.textEmbeddingModel(
|
|
1096
|
+
model.textEmbeddingModel("my-model-id");
|
|
614
1097
|
```
|
|
615
1098
|
|
|
616
1099
|
After
|
|
617
1100
|
|
|
618
1101
|
```ts
|
|
619
|
-
model.embeddingModel(
|
|
1102
|
+
model.embeddingModel("my-model-id");
|
|
620
1103
|
```
|
|
621
1104
|
|
|
622
1105
|
- Updated dependencies [8d9e8ad]
|
|
@@ -1111,7 +1594,7 @@
|
|
|
1111
1594
|
|
|
1112
1595
|
```js
|
|
1113
1596
|
await generateImage({
|
|
1114
|
-
model: luma.image(
|
|
1597
|
+
model: luma.image("photon-flash-1", {
|
|
1115
1598
|
maxImagesPerCall: 5,
|
|
1116
1599
|
pollIntervalMillis: 500,
|
|
1117
1600
|
}),
|
|
@@ -1124,7 +1607,7 @@
|
|
|
1124
1607
|
|
|
1125
1608
|
```js
|
|
1126
1609
|
await generateImage({
|
|
1127
|
-
model: luma.image(
|
|
1610
|
+
model: luma.image("photon-flash-1"),
|
|
1128
1611
|
prompt,
|
|
1129
1612
|
n: 10,
|
|
1130
1613
|
maxImagesPerCall: 5,
|
|
@@ -1412,7 +1895,7 @@
|
|
|
1412
1895
|
|
|
1413
1896
|
```js
|
|
1414
1897
|
await generateImage({
|
|
1415
|
-
model: luma.image(
|
|
1898
|
+
model: luma.image("photon-flash-1", {
|
|
1416
1899
|
maxImagesPerCall: 5,
|
|
1417
1900
|
pollIntervalMillis: 500,
|
|
1418
1901
|
}),
|
|
@@ -1425,7 +1908,7 @@
|
|
|
1425
1908
|
|
|
1426
1909
|
```js
|
|
1427
1910
|
await generateImage({
|
|
1428
|
-
model: luma.image(
|
|
1911
|
+
model: luma.image("photon-flash-1"),
|
|
1429
1912
|
prompt,
|
|
1430
1913
|
n: 10,
|
|
1431
1914
|
maxImagesPerCall: 5,
|
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The **[Together.ai provider](https://ai-sdk.dev/providers/ai-sdk-providers/togetherai)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the [Together.ai](https://together.ai) platform.
|
|
4
4
|
|
|
5
|
+
> **Deploying to Vercel?** With Vercel's AI Gateway you can access Together.ai (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 Together.ai provider is available in the `@ai-sdk/togetherai` module. You can install it with
|