@ai-sdk/openai-compatible 2.0.37 → 2.0.39

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,19 @@
1
1
  # @ai-sdk/openai-compatible
2
2
 
3
+ ## 2.0.39
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6247886]
8
+ - @ai-sdk/provider-utils@4.0.23
9
+
10
+ ## 2.0.38
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [0469aed]
15
+ - @ai-sdk/provider-utils@4.0.22
16
+
3
17
  ## 2.0.37
4
18
 
5
19
  ### Patch Changes
@@ -273,13 +287,13 @@
273
287
  Before
274
288
 
275
289
  ```ts
276
- model.textEmbeddingModel('my-model-id');
290
+ model.textEmbeddingModel("my-model-id");
277
291
  ```
278
292
 
279
293
  After
280
294
 
281
295
  ```ts
282
- model.embeddingModel('my-model-id');
296
+ model.embeddingModel("my-model-id");
283
297
  ```
284
298
 
285
299
  - 2625a04: feat(openai); update spec for mcp approval
@@ -494,13 +508,13 @@
494
508
  Before
495
509
 
496
510
  ```ts
497
- model.textEmbeddingModel('my-model-id');
511
+ model.textEmbeddingModel("my-model-id");
498
512
  ```
499
513
 
500
514
  After
501
515
 
502
516
  ```ts
503
- model.embeddingModel('my-model-id');
517
+ model.embeddingModel("my-model-id");
504
518
  ```
505
519
 
506
520
  - Updated dependencies [8d9e8ad]
@@ -936,7 +950,7 @@
936
950
 
937
951
  ```js
938
952
  await generateImage({
939
- model: luma.image('photon-flash-1', {
953
+ model: luma.image("photon-flash-1", {
940
954
  maxImagesPerCall: 5,
941
955
  pollIntervalMillis: 500,
942
956
  }),
@@ -949,7 +963,7 @@
949
963
 
950
964
  ```js
951
965
  await generateImage({
952
- model: luma.image('photon-flash-1'),
966
+ model: luma.image("photon-flash-1"),
953
967
  prompt,
954
968
  n: 10,
955
969
  maxImagesPerCall: 5,
@@ -1218,7 +1232,7 @@
1218
1232
 
1219
1233
  ```js
1220
1234
  await generateImage({
1221
- model: luma.image('photon-flash-1', {
1235
+ model: luma.image("photon-flash-1", {
1222
1236
  maxImagesPerCall: 5,
1223
1237
  pollIntervalMillis: 500,
1224
1238
  }),
@@ -1231,7 +1245,7 @@
1231
1245
 
1232
1246
  ```js
1233
1247
  await generateImage({
1234
- model: luma.image('photon-flash-1'),
1248
+ model: luma.image("photon-flash-1"),
1235
1249
  prompt,
1236
1250
  n: 10,
1237
1251
  maxImagesPerCall: 5,
package/dist/index.js CHANGED
@@ -1665,7 +1665,7 @@ function toCamelCase(str) {
1665
1665
  var import_provider_utils6 = require("@ai-sdk/provider-utils");
1666
1666
 
1667
1667
  // src/version.ts
1668
- var VERSION = true ? "2.0.37" : "0.0.0-test";
1668
+ var VERSION = true ? "2.0.39" : "0.0.0-test";
1669
1669
 
1670
1670
  // src/openai-compatible-provider.ts
1671
1671
  function createOpenAICompatible(options) {