@ai-sdk/cohere 0.0.25 → 0.0.28

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,33 @@
1
1
  # @ai-sdk/cohere
2
2
 
3
+ ## 0.0.28
4
+
5
+ ### Patch Changes
6
+
7
+ - a7cbdf6: feat (provider/cohere): Use Cohere v2 API
8
+
9
+ ## 0.0.27
10
+
11
+ ### Patch Changes
12
+
13
+ - 3b1b69a: feat: provider-defined tools
14
+ - Updated dependencies [aa98cdb]
15
+ - Updated dependencies [1486128]
16
+ - Updated dependencies [7b937c5]
17
+ - Updated dependencies [3b1b69a]
18
+ - Updated dependencies [811a317]
19
+ - @ai-sdk/provider-utils@1.0.22
20
+ - @ai-sdk/provider@0.0.26
21
+
22
+ ## 0.0.26
23
+
24
+ ### Patch Changes
25
+
26
+ - b9b0d7b: feat (ai): access raw request body
27
+ - Updated dependencies [b9b0d7b]
28
+ - @ai-sdk/provider@0.0.25
29
+ - @ai-sdk/provider-utils@1.0.21
30
+
3
31
  ## 0.0.25
4
32
 
5
33
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -39,7 +39,7 @@ interface CohereProvider extends ProviderV1 {
39
39
  interface CohereProviderSettings {
40
40
  /**
41
41
  Use a different URL prefix for API calls, e.g. to use proxy servers.
42
- The default prefix is `https://api.cohere.com/v1`.
42
+ The default prefix is `https://api.cohere.com/v2`.
43
43
  */
44
44
  baseURL?: string;
45
45
  /**
@@ -56,7 +56,6 @@ interface CohereProviderSettings {
56
56
  or to provide a custom fetch implementation for e.g. testing.
57
57
  */
58
58
  fetch?: FetchFunction;
59
- generateId?: () => string;
60
59
  }
61
60
  /**
62
61
  Create a Cohere AI provider instance.
package/dist/index.d.ts CHANGED
@@ -39,7 +39,7 @@ interface CohereProvider extends ProviderV1 {
39
39
  interface CohereProviderSettings {
40
40
  /**
41
41
  Use a different URL prefix for API calls, e.g. to use proxy servers.
42
- The default prefix is `https://api.cohere.com/v1`.
42
+ The default prefix is `https://api.cohere.com/v2`.
43
43
  */
44
44
  baseURL?: string;
45
45
  /**
@@ -56,7 +56,6 @@ interface CohereProviderSettings {
56
56
  or to provide a custom fetch implementation for e.g. testing.
57
57
  */
58
58
  fetch?: FetchFunction;
59
- generateId?: () => string;
60
59
  }
61
60
  /**
62
61
  Create a Cohere AI provider instance.