@ai-sdk/azure 3.0.48 → 3.0.49

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,13 @@
1
1
  # @ai-sdk/azure
2
2
 
3
+ ## 3.0.49
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9c548de]
8
+ - Updated dependencies [bcb04df]
9
+ - @ai-sdk/openai@3.0.48
10
+
3
11
  ## 3.0.48
4
12
 
5
13
  ### Patch Changes
@@ -409,13 +417,13 @@
409
417
  Before
410
418
 
411
419
  ```ts
412
- model.textEmbeddingModel('my-model-id');
420
+ model.textEmbeddingModel("my-model-id");
413
421
  ```
414
422
 
415
423
  After
416
424
 
417
425
  ```ts
418
- model.embeddingModel('my-model-id');
426
+ model.embeddingModel("my-model-id");
419
427
  ```
420
428
 
421
429
  - d64ece9: enables image_generation capabilities in the Azure provider through the Responses API.
@@ -802,13 +810,13 @@
802
810
  Before
803
811
 
804
812
  ```ts
805
- model.textEmbeddingModel('my-model-id');
813
+ model.textEmbeddingModel("my-model-id");
806
814
  ```
807
815
 
808
816
  After
809
817
 
810
818
  ```ts
811
- model.embeddingModel('my-model-id');
819
+ model.embeddingModel("my-model-id");
812
820
  ```
813
821
 
814
822
  - Updated dependencies [8d9e8ad]
@@ -1639,7 +1647,7 @@
1639
1647
 
1640
1648
  ```js
1641
1649
  await generateImage({
1642
- model: luma.image('photon-flash-1', {
1650
+ model: luma.image("photon-flash-1", {
1643
1651
  maxImagesPerCall: 5,
1644
1652
  pollIntervalMillis: 500,
1645
1653
  }),
@@ -1652,7 +1660,7 @@
1652
1660
 
1653
1661
  ```js
1654
1662
  await generateImage({
1655
- model: luma.image('photon-flash-1'),
1663
+ model: luma.image("photon-flash-1"),
1656
1664
  prompt,
1657
1665
  n: 10,
1658
1666
  maxImagesPerCall: 5,
@@ -1966,7 +1974,7 @@
1966
1974
 
1967
1975
  ```js
1968
1976
  await generateImage({
1969
- model: luma.image('photon-flash-1', {
1977
+ model: luma.image("photon-flash-1", {
1970
1978
  maxImagesPerCall: 5,
1971
1979
  pollIntervalMillis: 500,
1972
1980
  }),
@@ -1979,7 +1987,7 @@
1979
1987
 
1980
1988
  ```js
1981
1989
  await generateImage({
1982
- model: luma.image('photon-flash-1'),
1990
+ model: luma.image("photon-flash-1"),
1983
1991
  prompt,
1984
1992
  n: 10,
1985
1993
  maxImagesPerCall: 5,
package/dist/index.js CHANGED
@@ -40,7 +40,7 @@ var azureOpenaiTools = {
40
40
  };
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "3.0.48" : "0.0.0-test";
43
+ var VERSION = true ? "3.0.49" : "0.0.0-test";
44
44
 
45
45
  // src/azure-openai-provider.ts
46
46
  function createAzure(options = {}) {
package/dist/index.mjs CHANGED
@@ -29,7 +29,7 @@ var azureOpenaiTools = {
29
29
  };
30
30
 
31
31
  // src/version.ts
32
- var VERSION = true ? "3.0.48" : "0.0.0-test";
32
+ var VERSION = true ? "3.0.49" : "0.0.0-test";
33
33
 
34
34
  // src/azure-openai-provider.ts
35
35
  function createAzure(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/azure",
3
- "version": "3.0.48",
3
+ "version": "3.0.49",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -29,7 +29,7 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@ai-sdk/openai": "3.0.47",
32
+ "@ai-sdk/openai": "3.0.48",
33
33
  "@ai-sdk/provider": "3.0.8",
34
34
  "@ai-sdk/provider-utils": "4.0.21"
35
35
  },
@@ -65,9 +65,7 @@
65
65
  "build": "pnpm clean && tsup --tsconfig tsconfig.build.json",
66
66
  "build:watch": "pnpm clean && tsup --watch",
67
67
  "clean": "del-cli dist docs *.tsbuildinfo",
68
- "lint": "eslint \"./**/*.ts*\"",
69
68
  "type-check": "tsc --build",
70
- "prettier-check": "prettier --check \"./**/*.ts*\"",
71
69
  "test": "pnpm test:node && pnpm test:edge",
72
70
  "test:update": "pnpm test:node -u",
73
71
  "test:watch": "vitest --config vitest.node.config.js",