Skip to content

Commit 8d9acdf

Browse files
authored
Merge branch 'main' into und3rf10w/provider-aws-mantle
2 parents 6b71f6f + 0f364c7 commit 8d9acdf

File tree

212 files changed

+5306
-943
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+5306
-943
lines changed

.changeset/cpjpg-ybsrv-zzorc.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@ai-sdk/gateway': patch
3+
---
4+
5+
chore(provider/gateway): update gateway model settings files

.changeset/hot-pugs-count.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@ai-sdk/provider": patch
3+
"ai": patch
4+
---
5+
6+
chore(provider): align V4 model return types to have their own definitions across all model interfaces

.changeset/itchy-frogs-sparkle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ai-sdk/google": patch
3+
---
4+
5+
feat(google-vertex): add support for streaming tool arguments input

.changeset/nervous-gorillas-own.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"ai": patch
3+
---
4+
5+
fix(ai): skip passing invalid JSON inputs to response messages

.changeset/pre.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
"cold-avocados-tap",
105105
"cold-hats-cry",
106106
"cool-toes-cough",
107+
"cpjpg-ybsrv-zzorc",
107108
"cuddly-roses-collect",
108109
"curly-pillows-sleep",
109110
"curvy-doors-shake",
@@ -149,7 +150,9 @@
149150
"hip-suits-tie",
150151
"hipaa-compliant-option",
151152
"honest-steaks-nail",
153+
"hot-pugs-count",
152154
"itchy-cooks-sparkle",
155+
"itchy-frogs-sparkle",
153156
"late-cups-jump",
154157
"lazy-books-poke",
155158
"light-dolphins-shake",
@@ -165,6 +168,7 @@
165168
"nbokd-xjyoj-etciv",
166169
"neat-cats-sip",
167170
"neat-jokes-impress",
171+
"nervous-gorillas-own",
168172
"new-walls-poke",
169173
"nice-beds-impress",
170174
"ninety-icons-tease",
@@ -187,6 +191,7 @@
187191
"quick-meals-help",
188192
"quiet-tomatoes-double",
189193
"quiet-worms-kick",
194+
"rare-maps-invent",
190195
"reasoning-summary",
191196
"remove-tool-call-options-v7",
192197
"remove-useragent-usechat",
@@ -209,6 +214,7 @@
209214
"short-hairs-love",
210215
"shyiw-vvoqc-mivmr",
211216
"silly-rockets-watch",
217+
"six-dodos-beg",
212218
"six-schools-enjoy",
213219
"sixty-coats-shout",
214220
"sixty-countries-sparkle",
@@ -240,6 +246,7 @@
240246
"weak-penguins-carry",
241247
"weak-windows-ring",
242248
"wicked-nails-prove",
249+
"wise-dodos-help",
243250
"yrrxh-yphmk-gxyfa"
244251
]
245252
}

.changeset/rare-maps-invent.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"ai": major
3+
---
4+
5+
refactor(ai/core): rename `ModelCallStreamPart` to `LanguageModelStreamPart` and align stream model call naming (`streamLanguageModelCall`, `experimental_streamLanguageModelCall`).
6+
7+
This updates experimental low-level stream primitives to use "language model call" terminology consistently.

.changeset/six-dodos-beg.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"ai": patch
3+
'@ai-sdk/provider': patch
4+
'@ai-sdk/anthropic': patch
5+
'@ai-sdk/openai': patch
6+
---
7+
8+
feat(ai): allow passing provider instance to `uploadFile` and `uploadSkill` as shorthand

.changeset/wise-dodos-help.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"ai": patch
3+
---
4+
5+
fix(ai): fix `providerExecuted` tool approvals being passed to language model twice

content/docs/02-foundations/02-providers-and-models.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ The open-source community has created the following providers:
9191
- [Soniox Provider](/providers/community-providers/soniox) (`@soniox/vercel-ai-sdk-provider`)
9292
- [Zhipu (Z.AI) Provider](/providers/community-providers/zhipu) (`zhipu-ai-provider`)
9393
- [OLLM Provider](/providers/community-providers/ollm) (`@ofoundation/ollm`)
94+
- [ZeroEntropy Provider](/providers/community-providers/zeroentropy) (`zeroentropy-ai-provider`)
9495

9596
## Self-Hosted Models
9697

content/docs/03-ai-sdk-core/39-file-uploads.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ const { text } = await generateText({
3939
});
4040
```
4141

42+
As a shorthand, you can pass a provider instance directly to `api` instead of calling `.files()` explicitly — the SDK will call `.files()` for you:
43+
44+
```ts highlight="3"
45+
const { providerReference } = await uploadFile({
46+
api: openai, // shorthand for openai.files()
47+
data: fs.readFileSync('./photo.png'),
48+
filename: 'photo.png',
49+
});
50+
```
51+
4252
## Supported File Types
4353

4454
You can upload images, PDFs, text files, and other documents depending on the provider.

0 commit comments

Comments
 (0)