@ai-sdk/openai-compatible 2.0.37 → 2.0.38

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,12 @@
1
1
  # @ai-sdk/openai-compatible
2
2
 
3
+ ## 2.0.38
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0469aed]
8
+ - @ai-sdk/provider-utils@4.0.22
9
+
3
10
  ## 2.0.37
4
11
 
5
12
  ### Patch Changes
@@ -273,13 +280,13 @@
273
280
  Before
274
281
 
275
282
  ```ts
276
- model.textEmbeddingModel('my-model-id');
283
+ model.textEmbeddingModel("my-model-id");
277
284
  ```
278
285
 
279
286
  After
280
287
 
281
288
  ```ts
282
- model.embeddingModel('my-model-id');
289
+ model.embeddingModel("my-model-id");
283
290
  ```
284
291
 
285
292
  - 2625a04: feat(openai); update spec for mcp approval
@@ -494,13 +501,13 @@
494
501
  Before
495
502
 
496
503
  ```ts
497
- model.textEmbeddingModel('my-model-id');
504
+ model.textEmbeddingModel("my-model-id");
498
505
  ```
499
506
 
500
507
  After
501
508
 
502
509
  ```ts
503
- model.embeddingModel('my-model-id');
510
+ model.embeddingModel("my-model-id");
504
511
  ```
505
512
 
506
513
  - Updated dependencies [8d9e8ad]
@@ -936,7 +943,7 @@
936
943
 
937
944
  ```js
938
945
  await generateImage({
939
- model: luma.image('photon-flash-1', {
946
+ model: luma.image("photon-flash-1", {
940
947
  maxImagesPerCall: 5,
941
948
  pollIntervalMillis: 500,
942
949
  }),
@@ -949,7 +956,7 @@
949
956
 
950
957
  ```js
951
958
  await generateImage({
952
- model: luma.image('photon-flash-1'),
959
+ model: luma.image("photon-flash-1"),
953
960
  prompt,
954
961
  n: 10,
955
962
  maxImagesPerCall: 5,
@@ -1218,7 +1225,7 @@
1218
1225
 
1219
1226
  ```js
1220
1227
  await generateImage({
1221
- model: luma.image('photon-flash-1', {
1228
+ model: luma.image("photon-flash-1", {
1222
1229
  maxImagesPerCall: 5,
1223
1230
  pollIntervalMillis: 500,
1224
1231
  }),
@@ -1231,7 +1238,7 @@
1231
1238
 
1232
1239
  ```js
1233
1240
  await generateImage({
1234
- model: luma.image('photon-flash-1'),
1241
+ model: luma.image("photon-flash-1"),
1235
1242
  prompt,
1236
1243
  n: 10,
1237
1244
  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.38" : "0.0.0-test";
1669
1669
 
1670
1670
  // src/openai-compatible-provider.ts
1671
1671
  function createOpenAICompatible(options) {