@ai-sdk/cohere 3.0.20 → 3.0.22

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/cohere
2
2
 
3
+ ## 3.0.22
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [58bc42d]
8
+ - @ai-sdk/provider-utils@4.0.16
9
+
10
+ ## 3.0.21
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [4024a3a]
15
+ - @ai-sdk/provider-utils@4.0.15
16
+
3
17
  ## 3.0.20
4
18
 
5
19
  ### Patch Changes
package/dist/index.js CHANGED
@@ -997,7 +997,7 @@ var CohereRerankingModel = class {
997
997
  };
998
998
 
999
999
  // src/version.ts
1000
- var VERSION = true ? "3.0.20" : "0.0.0-test";
1000
+ var VERSION = true ? "3.0.22" : "0.0.0-test";
1001
1001
 
1002
1002
  // src/cohere-provider.ts
1003
1003
  function createCohere(options = {}) {
package/dist/index.mjs CHANGED
@@ -998,7 +998,7 @@ var CohereRerankingModel = class {
998
998
  };
999
999
 
1000
1000
  // src/version.ts
1001
- var VERSION = true ? "3.0.20" : "0.0.0-test";
1001
+ var VERSION = true ? "3.0.22" : "0.0.0-test";
1002
1002
 
1003
1003
  // src/cohere-provider.ts
1004
1004
  function createCohere(options = {}) {
@@ -98,8 +98,9 @@ const { text } = await generateText({
98
98
  });
99
99
  ```
100
100
 
101
- Cohere language models can also be used in the `streamText`, `generateObject`, and `streamObject` functions
102
- (see [AI SDK Core](/docs/ai-sdk-core).
101
+ Cohere language models can also be used in the `streamText` function
102
+ and support structured data generation with [`Output`](/docs/reference/ai-sdk-core/output)
103
+ (see [AI SDK Core](/docs/ai-sdk-core)).
103
104
 
104
105
  ### Model Capabilities
105
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/cohere",
3
- "version": "3.0.20",
3
+ "version": "3.0.22",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@ai-sdk/provider": "3.0.8",
33
- "@ai-sdk/provider-utils": "4.0.14"
33
+ "@ai-sdk/provider-utils": "4.0.16"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "20.17.24",