@ai-sdk/gateway 4.0.100 → 4.0.102
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 +26 -0
- package/dist/index.d.ts +1332 -1302
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3156 -4013
- package/dist/index.js.map +1 -1
- package/docs/00-ai-gateway.mdx +14 -10
- package/package.json +8 -8
- package/src/gateway-evaluation-model-settings.ts +4 -1
- package/src/gateway-fetch-metadata.ts +31 -4
- package/src/gateway-language-model-settings.ts +4 -0
- package/src/gateway-speech-model.ts +2 -0
- package/src/gateway-transcription-model.ts +2 -0
- package/src/zod.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @ai-sdk/gateway
|
|
2
2
|
|
|
3
|
+
## 4.0.102
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8c65988: feat(ai): add telemetry to speech generation and transcription, including
|
|
8
|
+
provider usage propagation and experimental streaming lifecycle callbacks
|
|
9
|
+
- e25994e: fix(gateway): scope `getCredits()` to `teamIdOrSlug`
|
|
10
|
+
|
|
11
|
+
The credits endpoint reads the team from the `teamId` / `slug` query parameter rather than the `x-vercel-ai-gateway-team` header. `getCredits()` now forwards the configured team as a query parameter, so credentials that can access multiple teams (such as Vercel access tokens) are no longer rejected with an authentication error.
|
|
12
|
+
|
|
13
|
+
- e74afc5: chore(provider/gateway): update gateway model settings files
|
|
14
|
+
- Updated dependencies [8c65988]
|
|
15
|
+
- Updated dependencies [527a163]
|
|
16
|
+
- @ai-sdk/provider@4.0.21
|
|
17
|
+
- @ai-sdk/provider-utils@5.0.53
|
|
18
|
+
|
|
19
|
+
## 4.0.101
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- 040033b: feat(openai): add GPT-6.1 Sol model support
|
|
24
|
+
- ede5b89: chore: migrate package builds from tsup to tsdown
|
|
25
|
+
- Updated dependencies [ede5b89]
|
|
26
|
+
- @ai-sdk/provider@4.0.20
|
|
27
|
+
- @ai-sdk/provider-utils@5.0.52
|
|
28
|
+
|
|
3
29
|
## 4.0.100
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|