@ai-sdk/cohere 4.0.5 → 4.0.7

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,20 @@
1
1
  # @ai-sdk/cohere
2
2
 
3
+ ## 4.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0f93c57]
8
+ - @ai-sdk/provider@4.0.3
9
+ - @ai-sdk/provider-utils@5.0.7
10
+
11
+ ## 4.0.6
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [ac306ed]
16
+ - @ai-sdk/provider-utils@5.0.6
17
+
3
18
  ## 4.0.5
4
19
 
5
20
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1130,7 +1130,7 @@ var CohereRerankingModel = class {
1130
1130
  };
1131
1131
 
1132
1132
  // src/version.ts
1133
- var VERSION = true ? "4.0.5" : "0.0.0-test";
1133
+ var VERSION = true ? "4.0.7" : "0.0.0-test";
1134
1134
 
1135
1135
  // src/cohere-provider.ts
1136
1136
  function createCohere(options = {}) {
@@ -11,21 +11,7 @@ The [Cohere](https://cohere.com/) provider contains language and embedding model
11
11
 
12
12
  The Cohere provider is available in the `@ai-sdk/cohere` module. You can install it with
13
13
 
14
- <Tabs items={['pnpm', 'npm', 'yarn', 'bun']}>
15
- <Tab>
16
- <Snippet text="pnpm add @ai-sdk/cohere" dark />
17
- </Tab>
18
- <Tab>
19
- <Snippet text="npm install @ai-sdk/cohere" dark />
20
- </Tab>
21
- <Tab>
22
- <Snippet text="yarn add @ai-sdk/cohere" dark />
23
- </Tab>
24
-
25
- <Tab>
26
- <Snippet text="bun add @ai-sdk/cohere" dark />
27
- </Tab>
28
- </Tabs>
14
+ <InstallPackages packages="@ai-sdk/cohere" />
29
15
 
30
16
  ## Provider Instance
31
17
 
@@ -104,21 +90,21 @@ and support structured data generation with [`Output`](/docs/reference/ai-sdk-co
104
90
 
105
91
  ### Model Capabilities
106
92
 
107
- | Model | Image Input | Object Generation | Tool Usage | Tool Streaming |
108
- | ----------------------------- | ------------------- | ------------------- | ------------------- | ------------------- |
109
- | `command-a-03-2025` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
110
- | `command-a-reasoning-08-2025` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
111
- | `command-a-vision-07-2025` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
112
- | `command-r7b-12-2024` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
113
- | `command-r-plus-04-2024` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
114
- | `command-r-plus` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
115
- | `command-r-08-2024` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
116
- | `command-r-03-2024` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
117
- | `command-r` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
118
- | `command` | <Cross size={18} /> | <Cross size={18} /> | <Cross size={18} /> | <Cross size={18} /> |
119
- | `command-nightly` | <Cross size={18} /> | <Cross size={18} /> | <Cross size={18} /> | <Cross size={18} /> |
120
- | `command-light` | <Cross size={18} /> | <Cross size={18} /> | <Cross size={18} /> | <Cross size={18} /> |
121
- | `command-light-nightly` | <Cross size={18} /> | <Cross size={18} /> | <Cross size={18} /> | <Cross size={18} /> |
93
+ | Model | Image Input | Object Generation | Tool Usage | Tool Streaming |
94
+ | ----------------------------- | ----------- | ----------------- | ---------- | -------------- |
95
+ | `command-a-03-2025` | <Cross /> | <Check /> | <Check /> | <Check /> |
96
+ | `command-a-reasoning-08-2025` | <Cross /> | <Check /> | <Check /> | <Check /> |
97
+ | `command-a-vision-07-2025` | <Check /> | <Check /> | <Check /> | <Check /> |
98
+ | `command-r7b-12-2024` | <Cross /> | <Check /> | <Check /> | <Check /> |
99
+ | `command-r-plus-04-2024` | <Cross /> | <Check /> | <Check /> | <Check /> |
100
+ | `command-r-plus` | <Cross /> | <Check /> | <Check /> | <Check /> |
101
+ | `command-r-08-2024` | <Cross /> | <Check /> | <Check /> | <Check /> |
102
+ | `command-r-03-2024` | <Cross /> | <Check /> | <Check /> | <Check /> |
103
+ | `command-r` | <Cross /> | <Check /> | <Check /> | <Check /> |
104
+ | `command` | <Cross /> | <Cross /> | <Cross /> | <Cross /> |
105
+ | `command-nightly` | <Cross /> | <Cross /> | <Cross /> | <Cross /> |
106
+ | `command-light` | <Cross /> | <Cross /> | <Cross /> | <Cross /> |
107
+ | `command-light-nightly` | <Cross /> | <Cross /> | <Cross /> | <Cross /> |
122
108
 
123
109
  <Note>
124
110
  The table above lists popular models. Please see the [Cohere
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/cohere",
3
- "version": "4.0.5",
3
+ "version": "4.0.7",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -29,8 +29,8 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@ai-sdk/provider": "4.0.2",
33
- "@ai-sdk/provider-utils": "5.0.5"
32
+ "@ai-sdk/provider": "4.0.3",
33
+ "@ai-sdk/provider-utils": "5.0.7"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "22.19.19",