@ai-sdk/gateway 4.0.125 → 4.0.126

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,15 @@
1
1
  # @ai-sdk/gateway
2
2
 
3
+ ## 4.0.126
4
+
5
+ ### Patch Changes
6
+
7
+ - e729d58: chore(docs): update `README.md` for consistent format and to avoid duplication
8
+ - Updated dependencies [5475347]
9
+ - Updated dependencies [e729d58]
10
+ - @ai-sdk/provider@4.0.34
11
+ - @ai-sdk/provider-utils@5.0.68
12
+
3
13
  ## 4.0.125
4
14
 
5
15
  ### Patch Changes
package/README.md CHANGED
@@ -4,10 +4,8 @@ The Gateway provider for the [AI SDK](https://ai-sdk.dev/docs) allows the use of
4
4
 
5
5
  ## Setup
6
6
 
7
- The Gateway provider is available in the `@ai-sdk/gateway` module. You can install it with
8
-
9
7
  ```bash
10
- npm i @ai-sdk/gateway
8
+ npm i ai @ai-sdk/gateway
11
9
  ```
12
10
 
13
11
  ## Skill for Coding Agents
@@ -18,15 +16,7 @@ If you use coding agents such as Claude Code or Cursor, we highly recommend addi
18
16
  npx skills add vercel/ai
19
17
  ```
20
18
 
21
- ## Provider Instance
22
-
23
- You can import the default provider instance `gateway` from `@ai-sdk/gateway`:
24
-
25
- ```ts
26
- import { gateway } from '@ai-sdk/gateway';
27
- ```
28
-
29
- ## Example
19
+ ## Usage
30
20
 
31
21
  ```ts
32
22
  import { gateway } from '@ai-sdk/gateway';
@@ -39,6 +29,4 @@ const { text } = await generateText({
39
29
  });
40
30
  ```
41
31
 
42
- ## Documentation
43
-
44
- Please check out the [AI SDK documentation](https://ai-sdk.dev/docs) for more information.
32
+ See the [Gateway Provider documentation](https://ai-sdk.dev/providers/ai-sdk-providers/ai-gateway) for more information.
package/dist/index.js CHANGED
@@ -3271,7 +3271,7 @@ async function getVercelRequestId() {
3271
3271
  }
3272
3272
  //#endregion
3273
3273
  //#region src/version.ts
3274
- const VERSION = "4.0.125";
3274
+ const VERSION = "4.0.126";
3275
3275
  //#endregion
3276
3276
  //#region src/gateway-provider.ts
3277
3277
  const AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ai-sdk/gateway",
3
3
  "private": false,
4
- "version": "4.0.125",
4
+ "version": "4.0.126",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
7
7
  "sideEffects": false,
@@ -30,8 +30,8 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@ai-sdk/provider": "4.0.33",
34
- "@ai-sdk/provider-utils": "5.0.67",
33
+ "@ai-sdk/provider": "4.0.34",
34
+ "@ai-sdk/provider-utils": "5.0.68",
35
35
  "@vercel/oidc": "3.2.0"
36
36
  },
37
37
  "devDependencies": {