Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
290 commits
Select commit Hold shift + click to select a range
6502d79
docs (migrationV5/vue): fix @ai-sdk/vue migration (#7069)
albertlast Jul 7, 2025
fdff8a4
fix(provider/anthropic): correct Claude 4 model ID format (#7067)
mmstroik Jul 7, 2025
7b069ed
feat (providers/openai-compatible): allow any string as reasoningEffo…
DeJeune Jul 7, 2025
c8fce91
feat (ai): add experimental Agent abstraction (#7092)
lgrammel Jul 7, 2025
6909543
feat (ai): support system parameter in Agent constructor (#7094)
lgrammel Jul 7, 2025
bf27dff
Version Packages (beta) (#7042)
github-actions[bot] Jul 7, 2025
7bd5b51
docs(getting-started/nuxt): improve getting started for nuxt (#7065)
albertlast Jul 7, 2025
86cfc72
feat (ai): add ignoreIncompleteToolCalls option to convertToModelMess…
lgrammel Jul 7, 2025
a10bf62
fix(provider/bedrock): Fix Reasoning - Amazon Bedrock Anthropic (#7073)
tleekkul Jul 7, 2025
08952eb
example: openai agent with tools (#7103)
lgrammel Jul 7, 2025
3dbbea2
Version Packages (beta) (#7101)
github-actions[bot] Jul 7, 2025
28b92a8
docs: update Google Generative AI docs (#7102)
patrickloeber Jul 8, 2025
af1d5a5
fix(ai): Unexpected reasoning-start event in extract reasoning middle…
DeJeune Jul 8, 2025
c3b7069
feat(provider/mistral): add Mistral Medium 3 model support (#7115)
dancer Jul 8, 2025
1d91f3d
docs: update ai sdk ui stream protocol for v5 beta (#7061)
nicoalbanese Jul 8, 2025
6504a71
docs: update ai sdk ui stream data to v5 beta (#7059)
nicoalbanese Jul 8, 2025
20ef568
docs: update ai sdk ui error handling for v5 beta (#7060)
nicoalbanese Jul 8, 2025
208e875
docs: add useChat transport documentation (#7062)
nicoalbanese Jul 8, 2025
e26cbde
docs: update completion and agents to v5 (#7064)
nicoalbanese Jul 8, 2025
89eaf5e
feat(amazon-bedrock): add style parameter support for image generatio…
huanshenyi Jul 8, 2025
3768c57
docs: update generating text to v5 beta (#7117)
nicoalbanese Jul 8, 2025
4cedbcb
docs: update error, testing, and telemetry to v5 (#7129)
nicoalbanese Jul 8, 2025
c8de906
docs: update provider management for v5 beta (#7128)
nicoalbanese Jul 8, 2025
498770c
docs: update middleware for v5 beta (#7127)
nicoalbanese Jul 8, 2025
a94f987
docs: update image generation to v5 beta (#7126)
nicoalbanese Jul 8, 2025
4ab0f0b
docs: update embeddings to v5 beta (#7125)
nicoalbanese Jul 8, 2025
a90f306
docs: update settings to v5 beta (#7123)
nicoalbanese Jul 8, 2025
d6538c6
docs: update tools and tool calling to v5 beta (#7122)
nicoalbanese Jul 8, 2025
67b2a8c
docs: update generating structured data (#7118)
nicoalbanese Jul 8, 2025
0cbde92
docs(provider/perplexity): updated docs for provider page (#7119)
dancer Jul 8, 2025
40beb40
docs(provider/cohere): updated docs for provider page (#7048)
dancer Jul 8, 2025
2219fef
fix(elevenlabs): use camelCase fileFormat in provider options (#7121)
dancer Jul 8, 2025
9161810
docs(provider/deepseek): updated docs for provider page (#7054)
dancer Jul 8, 2025
fc373e9
docs(provider/cerebras): updated docs for provider page (#7056)
dancer Jul 8, 2025
54a0cb5
docs(provider/gladia): fix api key used (#7132)
dancer Jul 8, 2025
63f16fd
docs(provider/replicate): updated docs for provider page (#7057)
dancer Jul 8, 2025
b1e9756
feat(docs): add Claude Code community provider (#6813)
ben-vargas Jul 8, 2025
14a28bd
fix(hume): updated README to use default provider hume (#7133)
dancer Jul 8, 2025
2b637d6
chore (ai): rename UIMessageStreamPart to UIMessageChunk (#7135)
lgrammel Jul 8, 2025
ce61450
chore(docs): Update LangSmith tracing docs (#7035)
jacoblee93 Jul 8, 2025
16ccfb2
feat (ai): add readUIMessageStream helper (#7116)
lgrammel Jul 8, 2025
90ca2b9
feat(ai): Record tool call errors on tool call spans in `generateText…
AbhiPrasad Jul 8, 2025
b1de238
update provider documentation to use shorter method names (#7138)
dancer Jul 8, 2025
eb4d5a8
Version Packages (beta) (#7114)
github-actions[bot] Jul 8, 2025
19a4336
feat(google): Adds raw Google Generative AI usage metadata to provide…
jacoblee93 Jul 8, 2025
7dd709b
docs(provider/revai): updated docs for provider page (#7134)
dancer Jul 8, 2025
9e40cbe
Allow destructuring `output` and `errorText` on `ToolUIPart` (#7140)
remorses Jul 9, 2025
2a9732b
feat(provider/perplexity): support image input (#7141)
nvti Jul 9, 2025
a7e4697
Version Packages (beta) (#7139)
github-actions[bot] Jul 9, 2025
e03f635
docs: fix code block formatting in generating-text (#7144)
patelvivekdev Jul 9, 2025
fc0380b
feat (ui): resolvable header, body, credentials in http chat transpor…
lgrammel Jul 9, 2025
b5a0e32
fix (provider/openai): correct default for chat model strict mode (#7…
lgrammel Jul 9, 2025
2e06f14
feat (provider/google): change tools to provider defined tools (#7071)
patelvivekdev Jul 9, 2025
0eee6a8
feat(provider/openai): fix streaming of reasoning events (#7155)
lgrammel Jul 9, 2025
3ee12ab
refactoring: move core/ to src/ (ai package) (#7158)
lgrammel Jul 9, 2025
b16a6e3
docs(CONTRIBUTING): add codemods instructions (#7085)
gr2m Jul 9, 2025
4f3776c
feat (ai): add InferUITools helper (#7159)
lgrammel Jul 9, 2025
51f497d
feat (ai): step input message modification in prepareStep (#7161)
lgrammel Jul 9, 2025
c7d3b2e
fix (provider/openai): push first reasoning chunk in output item adde…
lgrammel Jul 9, 2025
d088af6
Version Packages (beta) (#7156)
github-actions[bot] Jul 9, 2025
9627bb9
docs: fix generate-text reference format error (#7170)
nicoalbanese Jul 9, 2025
5058f92
feat(codemod): release AI SDK 5.0 codemods package (#7171)
dancer Jul 9, 2025
b0446d4
changeset: release AI SDK 5.0 codemods package (#7174)
dancer Jul 9, 2025
ffac5e5
Version Packages (beta) (#7175)
github-actions[bot] Jul 9, 2025
9e986f7
feat (provider/xai): add grok-4 model id (#7185)
shaper Jul 10, 2025
ac9879e
Version Packages (beta) (#7186)
github-actions[bot] Jul 10, 2025
377bbcf
fix (ui): tool input can be undefined during input-streaming (#7187)
lgrammel Jul 10, 2025
d1410bb
fix (react): chat instance recreation in `useChat` (#7182)
iteratetograceness Jul 10, 2025
a68234e
test (ui/react): add test for initial messages (#7190)
lgrammel Jul 10, 2025
c808e4d
fix (ui): do not send changing assistant message ids when onFinish is…
lgrammel Jul 10, 2025
08bd371
fix hono streaming chunk type errors (#7194)
dancer Jul 10, 2025
d1c652e
docs: update generate text reference for v5 (#7176)
nicoalbanese Jul 10, 2025
6e4e25b
docs: update stream text reference for v5 (#7177)
nicoalbanese Jul 10, 2025
42fd756
chore(ai): update reasoning deltas and add new reasoning steps in str…
jonaslalin Jul 10, 2025
c040e2f
fix (ui): inject generated response message id (#7198)
lgrammel Jul 10, 2025
ce1d1f3
feat (ai): export mock image, speech, and transcription models (#7199)
lgrammel Jul 10, 2025
b9ddcdd
feat(anthropic): add text editor tool support for Claude 4 models (#7…
dancer Jul 10, 2025
159fb6c
fix use-chat-resume example functionality (#7195)
dancer Jul 10, 2025
b7c2916
Version Packages (beta) (#7188)
github-actions[bot] Jul 10, 2025
30ab1de
feat (provider/gateway): add grok-4 model id (#7203)
shaper Jul 10, 2025
8c27db5
docs: update message persistence guide to v5 (#7206)
nicoalbanese Jul 10, 2025
68ae936
docs: update dataStream reference to UIMessageStream (#7209)
nicoalbanese Jul 10, 2025
a31b686
Version Packages (beta) (#7205)
github-actions[bot] Jul 10, 2025
33d478a
docs: update v5 migration guide for persistence (#7204)
nicoalbanese Jul 10, 2025
209256d
feat(openai): add file_search tool support to Responses API (#7207)
dancer Jul 10, 2025
0f0699a
docs: update useChat reference for v5 (#7212)
nicoalbanese Jul 10, 2025
4d23e73
docs: document UIMessage for v5 (#7214)
nicoalbanese Jul 10, 2025
dda22b5
docs: update useChat reference to include prepareSendMessagesRequest …
nicoalbanese Jul 11, 2025
0ca0c2e
docs: update tool reference page for v5 (#7225)
nicoalbanese Jul 11, 2025
8e31d46
feat (ai): export SourceDocumentUIPart (#7229)
lgrammel Jul 11, 2025
53c2c81
docs: Add Gemini 2.5 Get Started guide (#7228)
patrickloeber Jul 11, 2025
120319a
Version Packages (beta) (#7213)
github-actions[bot] Jul 11, 2025
9e16bfd
feat (provider/gateway): update model ids (#7249)
shaper Jul 12, 2025
53ea87a
Version Packages (beta) (#7250)
github-actions[bot] Jul 13, 2025
05c26b6
docs: fix Gemini tool calling v5 example (#7236)
patrickloeber Jul 14, 2025
8af9e03
feat (providers/google): add Imagen 3 image models (#6463)
psinha40898 Jul 14, 2025
8d44bf6
docs: add jigsawstack as tools (#7181)
winzamark123 Jul 14, 2025
c190907
fix (provider/gateway): use zod v4 (#7274)
lgrammel Jul 14, 2025
654ff2b
feat (angular): Add Angular support and example (#7211)
undo76 Jul 14, 2025
66b9661
feat (provider/xai): export XaiProviderOptions (#7275)
lgrammel Jul 14, 2025
a8f0f0f
docs: update chatbot documentation for v5 (#7276)
nicoalbanese Jul 14, 2025
1b101e1
feat (provider/openai-compatible): allow providers that do not specif…
lgrammel Jul 14, 2025
4e01854
feat: Add codemod suite for AI SDK v5 migration (#7264)
dancer Jul 14, 2025
30c6c26
Version Packages (beta) (#7271)
github-actions[bot] Jul 14, 2025
b34c1c0
fix(react): stabilize setMessages in useChat (#7263)
FranciscoMoretti Jul 14, 2025
9338f3e
fix (ai): throw error for v1 models (#7280)
lgrammel Jul 14, 2025
d65ed21
fix (ai): throw error for v1 models (embedding) (#7283)
lgrammel Jul 14, 2025
8fde044
update: docs for codemod (#7284)
dancer Jul 14, 2025
d3960e3
fix(ai): selectTelemetryAttributes attribute's value should ignore `n…
Gaubee Jul 14, 2025
3a99754
fix: codemod docs (#7286)
dancer Jul 14, 2025
4726e71
fix(codemod): correct import-LanguageModelV2-from-provider-package di…
dancer Jul 14, 2025
9ddad41
Version Packages (beta) (#7281)
github-actions[bot] Jul 14, 2025
05d2819
feat: allow zod 4.x as peer dependency (#7298)
lgrammel Jul 15, 2025
0436441
docs: update custom provider page with note about publishing (#7301)
nicoalbanese Jul 15, 2025
bb07a79
docs: update sdk ui page with angular support (#7302)
nicoalbanese Jul 15, 2025
a846295
docs(gateway): added new docs page for gateway (#7210)
dancer Jul 15, 2025
7badba2
fix(google): grounding streaming sources (#7226)
dancer Jul 15, 2025
81536c9
docs: add update command to migration guide (#7304)
nicoalbanese Jul 15, 2025
10b21eb
feat(cli): add ai command line interface (#6979)
lgrammel Jul 15, 2025
db64cbe
fix (provider/openai): multi-step reasoning with tool calls (#7285)
lgrammel Jul 15, 2025
9d69c52
fix (build): fix local build inconsistencies (#7307)
lgrammel Jul 15, 2025
75c3396
fix (ai): handle errors in 2nd streamText doStream call (#7309)
lgrammel Jul 15, 2025
6ca44f2
fix: use appropriate domain for vertex global (#6810)
zabealbe Jul 15, 2025
912d716
Version Packages (beta) (#7300)
github-actions[bot] Jul 15, 2025
e0d9541
feat: add kimi k2 model via groq (#7313)
dancer Jul 15, 2025
a3b1441
update: groq model list (#7315)
dancer Jul 15, 2025
4c8f834
feat: automatically respect rate limit headers in retry logic (#7246)
jeffbarg Jul 16, 2025
b8a31c1
test (provider/anthropic): test that overloaded errors can be parsed …
lgrammel Jul 16, 2025
281bb1c
fix (provider/openai-incompatible): support empty tool calls (#7326)
lgrammel Jul 16, 2025
cedc14d
update: fireworks model list (#7321)
dancer Jul 16, 2025
6a16dcf
fix(@ai-sdk/google): Use single embeddings endpoint when using embed(…
lgrammel Jul 16, 2025
093d5e3
Version Packages (beta) (#7314)
github-actions[bot] Jul 16, 2025
4a1e0c8
fix(ai-cli): added bundling and improve authentication error handling…
dancer Jul 16, 2025
6d835a7
fix (provider/grok): filter duplicated reasoning chunks (#7330)
dancer Jul 16, 2025
314edb2
feat: add API key authentication support for Amazon Bedrock (#7337)
dancer Jul 16, 2025
2c0459a
fix (provider/amazon-bedrock): remove unused tsx dependency (#7338)
dancer Jul 16, 2025
faea29f
fix (provider/openai): multi-step reasoning with text (#7336)
lgrammel Jul 16, 2025
30ac566
fix (ui): text part metadata support in ui messages (#7341)
lgrammel Jul 16, 2025
2a65175
docs: update cookbook with v5 content (#7221)
jeremyphilemon Jul 16, 2025
38ae5cc
feat (ai): export InferUIMessageChunk type (#7349)
lgrammel Jul 16, 2025
760c26c
[mcp-tools] Update the cookbook to use the official MCP TS SDK transp…
quuu Jul 16, 2025
90ac328
fix (ui): tool part metadata support in ui messages (#7348)
lgrammel Jul 16, 2025
1e7ffc2
Version Packages (beta) (#7335)
github-actions[bot] Jul 16, 2025
e151efd
[docs] Fix transport: key (#7356)
quuu Jul 16, 2025
0fa7414
chore (provider/openai): standardize on itemId in provider metadata (…
lgrammel Jul 17, 2025
6c635d1
docs: update RAG Guide for v5 (#7366)
nicoalbanese Jul 17, 2025
6c42e56
feat (ai): validate ui stream data chunks (#7364)
lgrammel Jul 17, 2025
205077b
fix: improve Zod compatibility (#7367)
lgrammel Jul 17, 2025
86293e5
fix (ai): use correct generateMessageId in streamText toUIMessageStre…
lgrammel Jul 17, 2025
de2d2ab
feat(ai): add provider and provider registry middleware functionality…
jonaslalin Jul 17, 2025
cb94723
docs: zod contributor docs (#7360)
lgrammel Jul 17, 2025
c93a8bc
chore(ai): export AsyncIterableStream type from async-iterable-strea…
jonaslalin Jul 17, 2025
20398f2
feat: ai sdk cli documentation + adjusted default model (#7368)
dancer Jul 17, 2025
e39ee60
Version Packages (beta) (#7363)
github-actions[bot] Jul 17, 2025
89ba235
fix (ui): support tool names with dash (#7375)
lgrammel Jul 17, 2025
53934ae
Version Packages (beta) (#7377)
github-actions[bot] Jul 17, 2025
864b0eb
docs: add streamData to data parts to v5 migration guide (#7379)
nicoalbanese Jul 17, 2025
8883a10
chore(docs): explain ai gateway oidc auth api key override (#7353)
allenzhou101 Jul 17, 2025
5aa62ce
fix(examples): extract text content in getLastUserMessageText example…
jpdenford Jul 18, 2025
57edfcb
fix(@ai-sdk/provider-utils): Use safeParseAsync for zod schemas (#7389)
cwgorman Jul 18, 2025
e4c8647
feat (ui): allow asynchronous onFinish in createUIMessageStream (#7392)
lgrammel Jul 18, 2025
84be594
fix (example): fix next persistence example assistant message id gene…
lgrammel Jul 18, 2025
7f7712a
docs: update next persistence docs (#7395)
nicoalbanese Jul 18, 2025
ff1c81a
feat (ai): add streamText onAbort callback (#7394)
lgrammel Jul 18, 2025
3353875
docs: add onAbort (#7401)
nicoalbanese Jul 18, 2025
add5ac1
feat (ai): make streamText toUIMessageStream async iterable (#7402)
lgrammel Jul 18, 2025
376a7d1
fix(ai-sdk/react) Add options.id to subscribeToMessages callback depe…
Potrock Jul 18, 2025
3db5258
update: Azure OpenAI provider to v1 API format (#7397)
dancer Jul 18, 2025
383cbfa
feat (ai): add isAborted to onFinish callback for ui message streams …
lgrammel Jul 18, 2025
3ded61b
Version Packages (beta) (#7391)
github-actions[bot] Jul 18, 2025
5eb85cc
docs: add coremessage to modelmessage to migration guide (#7406)
nicoalbanese Jul 18, 2025
e001ea1
fix (provider/gateway): remove unnecessary `x-` prefix on auth method…
shaper Jul 20, 2025
6f87d1d
feat (provider/vercel): update chat model ids and examples (#7416)
shaper Jul 20, 2025
8bd3624
feat (provider/gateway): update model ids to include vercel (#7419)
shaper Jul 20, 2025
762f07b
Version Packages (beta) (#7415)
github-actions[bot] Jul 21, 2025
dc6a151
docs: add enum docs for useObject (#7432)
nicoalbanese Jul 21, 2025
b503493
docs: fix transcribe page error (#7434)
nicoalbanese Jul 21, 2025
9e0ac50
docs: fix browserbase link (#7438)
nicoalbanese Jul 21, 2025
3060a82
Throw errors for error parts in `readUIMessageStream` (#7421)
remorses Jul 21, 2025
27dc59b
Revert "fix: Throw errors for error parts in `readUIMessageStream`" (…
dancer Jul 21, 2025
70ebead
feat (provider/gateway): add qwen3 coder model id (#7465)
shaper Jul 23, 2025
3fd6ec4
docs: update migration guide (#7475)
nicoalbanese Jul 23, 2025
1e2dfee
docs: update toToolResultContent to toModelOutput (#7476)
nicoalbanese Jul 23, 2025
33a16fe
docs: add troubleshooting page for custom useChat configuration value…
nicoalbanese Jul 23, 2025
e5395cc
docs: add troubelshooting page for duplicate messages with useChat (#…
nicoalbanese Jul 23, 2025
bbbd4db
docs: update community provider pages support (#7480)
dancer Jul 23, 2025
69ad6a6
docs: add troubleshooting page for stream abort handling (#7482)
nicoalbanese Jul 23, 2025
b889cf9
docs: remove incorrect flag on convertToModelMessages (#7489)
nicoalbanese Jul 23, 2025
37dc396
docs: update requesty community provider page (#7483)
dancer Jul 23, 2025
ec39d4b
feat (docs): add built-in-ai custom provider (#7320)
jakobhoeg Jul 24, 2025
7013dd3
docs: update sdk ui reference docs for ui message stream (#7490)
nicoalbanese Jul 24, 2025
f81c720
chore(ai): bundle dependencies in CLI binary (#7448)
dancer Jul 24, 2025
2a62513
fix (ui): handle empty messages array in shouldResubmitMessages (#7474)
li-kai Jul 24, 2025
8914147
fix(docs): replace language model specification url with v2 (#7424)
lucaazalim Jul 24, 2025
75f03b1
provider (google): Add support for Gemini 2.5 Flash Lite GA (#7488)
petergoldstein Jul 24, 2025
904fa5e
feat (ai/core): add terminateOnError option to readUIMessageStream (#…
lgrammel Jul 24, 2025
1f6ce57
feat(ai): infer tool call types for the `onToolCall` callback (#7385)
damianstasik Jul 24, 2025
ae77a99
chore (ai): rename text and reasoning chunks in streamText fullstream…
lgrammel Jul 24, 2025
5a25d57
docs: update smoothstream documentation (#7504)
nicoalbanese Jul 24, 2025
bae1fad
docs: update docs based on #7507 (#7509)
nicoalbanese Jul 24, 2025
60a1f6d
feat(provider/google-vertex): add imagen 4 model support (#7506)
dancer Jul 24, 2025
e2afe96
docs: document metadata useChat and UIMessage streams (#7512)
nicoalbanese Jul 24, 2025
44ca110
docs: add manual agent loop recipe (#7513)
nicoalbanese Jul 24, 2025
ae3a4fd
feat(provider/groq): add structured outputs support (#7508)
dancer Jul 24, 2025
a69bfec
chore(docs): patch Letta AI community providers doc (#7494)
shelleypham Jul 24, 2025
5a975a4
feat (ui): update Chat tool result submission (#7511)
lgrammel Jul 24, 2025
02e07be
Version Packages (beta) (#7467)
github-actions[bot] Jul 24, 2025
df983e6
feat(codemods): added v4→v5 migration codemods (#7516)
dancer Jul 24, 2025
cc21603
feat (provider/gateway): Add AI Gateway provider options (ordering) (…
R-Taneja Jul 24, 2025
0477a13
feat (provider/gateway): Add OpenAI embedding support (#7444)
R-Taneja Jul 24, 2025
cf1e00e
feat (provider/gateway): add devstral model id (#7533)
shaper Jul 25, 2025
bc8daf0
fix (build): set release mode back to pre (#7534)
lgrammel Jul 25, 2025
d5ae088
feat (ui): add sendAutomaticallyWhen to Chat (#7536)
lgrammel Jul 25, 2025
eb787eb
Version Packages (beta) (#7535)
github-actions[bot] Jul 25, 2025
4f26d59
feat(provider/anthropic): add disable parallel tool use option (#7538)
dancer Jul 25, 2025
b652872
fix(provider/bedrock): include toolConfig when conversation contains …
dancer Jul 25, 2025
716cb89
docs: document removal of maxSteps and sendAutomaticallyWhen (#7539)
nicoalbanese Jul 25, 2025
83170a5
test (provider/anthropic): add test cases for 529 overloaded error (#…
lgrammel Jul 25, 2025
320456d
docs: fix refs to the language model spec (#7547)
cristiand391 Jul 25, 2025
bd6495c
examples: update HITL to v5 (#7550)
nicoalbanese Jul 25, 2025
84343eb
fix (ui): call sendAutomaticallyWhen with updated messages (#7549)
lgrammel Jul 25, 2025
a753b3a
feat (provider/anthropic): cache control for tools (#7552)
lgrammel Jul 25, 2025
737f1e2
feat (provider/openai-compatible): add includeUsage option (#7441)
jessevdp Jul 25, 2025
ac34802
feat (ui): Add ability to "reset" to structured object (#7272)
andrico1234 Jul 25, 2025
0059ee2
fix(openai): update file_search fields to match API changes (#7555)
dancer Jul 25, 2025
d521cda
feat(openai): add file_search filters and update field names (#7556)
dancer Jul 25, 2025
f666efc
Version Packages (beta) (#7540)
github-actions[bot] Jul 25, 2025
a89add7
fix(amazon-bedrock): add structured output support for claude models …
dancer Jul 25, 2025
654667e
docs: update Claude Code provider to v5-beta compatibility (#7567)
ben-vargas Jul 26, 2025
584ca30
Version Packages (beta) (#7560)
github-actions[bot] Jul 26, 2025
170a97a
docs: update built-in-ai custom provider with WebLLM provider (#7563)
jakobhoeg Jul 26, 2025
619e8cb
docs: remove maxSteps parameter from useChat api reference (v5) (#7568)
bytaesu Jul 26, 2025
a5acc16
docs: update hitl recipe for v5 (#7554)
nicoalbanese Jul 26, 2025
269683f
feat(anthropic): Add raw usage object to Anthropic provider metadata …
lgrammel Jul 28, 2025
e77875b
docs: add Gemini CLI community provider (#7143)
ben-vargas Jul 28, 2025
dffbb9f
docs: update useChat reference to match actual behavior (#7588)
bytaesu Jul 28, 2025
4120602
feat (docs): add signoz observability as a provider (#7462)
gkarthi-signoz Jul 28, 2025
d92b9a8
fix(ai): add support for MCP protocol version 2025-06-18 (#7594)
dancer Jul 28, 2025
45a7387
docs: update multi-modal agent to v5 (#7583)
nicoalbanese Jul 28, 2025
f801342
docs: update computer use template for v5 (#7585)
nicoalbanese Jul 28, 2025
dae04ca
docs: update slackbot recipe to v5 (#7584)
nicoalbanese Jul 28, 2025
eb9ae05
docs: update natural language postgres guide to v5 (#7582)
nicoalbanese Jul 28, 2025
f4e5cc2
docs: update sonnet 4 guide to v5 (#7596)
nicoalbanese Jul 28, 2025
22d1a7a
docs: update streaming transient data example (#7597)
nicoalbanese Jul 28, 2025
c2f1e02
docs: update responses api guide (#7599)
nicoalbanese Jul 28, 2025
cc8eb2b
docs: fix broken parameter formatting for useChat (#7601)
nicoalbanese Jul 28, 2025
7950daa
docs: update sonnet 3.7 guide for v5 (#7602)
nicoalbanese Jul 28, 2025
bcca3f8
docs: update guides parameters to inputSchema for v5 (#7603)
nicoalbanese Jul 28, 2025
0893170
fix(amazon-bedrock): handle empty activeTools with tool conversation …
dancer Jul 28, 2025
327d6ea
docs: update cli page link (#7553)
dancer Jul 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/afraid-countries-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/elevenlabs': patch
---

fix(elevenlabs): use camelCase fileFormat in provider options
5 changes: 5 additions & 0 deletions .changeset/beige-drinks-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat(ai): add provider and provider registry middleware functionality
5 changes: 5 additions & 0 deletions .changeset/beige-vans-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/mistral': patch
---

add Mistral Medium 3 model support
5 changes: 5 additions & 0 deletions .changeset/bright-chefs-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/gateway': patch
---

feat (provider/gateway): update model ids
5 changes: 5 additions & 0 deletions .changeset/bright-lies-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/gateway': patch
---

feat (provider/gateway): Add OpenAI embedding support
5 changes: 5 additions & 0 deletions .changeset/clever-moles-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ai): export InferUIMessageChunk type
5 changes: 5 additions & 0 deletions .changeset/clever-terms-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat(cli): add ai command line interface
5 changes: 5 additions & 0 deletions .changeset/cuddly-parrots-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/amazon-bedrock': patch
---

Add API key authentication support for Amazon Bedrock with Bearer token and automatic SigV4 fallback
5 changes: 5 additions & 0 deletions .changeset/cuddly-phones-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

Allow destructuring output and errorText on `ToolUIPart` type
5 changes: 5 additions & 0 deletions .changeset/cuddly-tigers-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/gateway': patch
---

feat (provider/gateway): add grok-4 model id
5 changes: 5 additions & 0 deletions .changeset/curly-bats-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ai): support system parameter in Agent constructor
5 changes: 5 additions & 0 deletions .changeset/curvy-cats-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ai): add ignoreIncompleteToolCalls option to convertToModelMessages
5 changes: 5 additions & 0 deletions .changeset/cyan-insects-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/google': patch
---

Expose raw usageMetadata returned from Google Generative AI in providerMetadata
5 changes: 5 additions & 0 deletions .changeset/cyan-rockets-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

fix (ui): tool input can be undefined during input-streaming
5 changes: 5 additions & 0 deletions .changeset/dull-grapes-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/google-vertex': minor
---

Fixed global region for vertex provider
5 changes: 5 additions & 0 deletions .changeset/dull-rabbits-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

chore (ai): rename text and reasoning chunks in streamText fullstream
5 changes: 5 additions & 0 deletions .changeset/early-parrots-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/google': patch
---

Added Image Models to the Google Provider for Imagen 3 Support
5 changes: 5 additions & 0 deletions .changeset/eleven-ravens-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/openai': patch
---

Fix streaming and reconstruction of reasoning summary parts
5 changes: 5 additions & 0 deletions .changeset/empty-schools-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/vercel': patch
---

feat (provider/vercel): update chat model ids and examples
5 changes: 5 additions & 0 deletions .changeset/famous-needles-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ai): infer tool call types in the `onToolCall` callback
5 changes: 5 additions & 0 deletions .changeset/five-grapes-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ai): add readUIMessageStream helper
5 changes: 5 additions & 0 deletions .changeset/flat-ants-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ai): export mock image, speech, and transcription models
5 changes: 5 additions & 0 deletions .changeset/flat-falcons-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ui): resolvable header, body, credentials in http chat transport
5 changes: 5 additions & 0 deletions .changeset/fresh-dolphins-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ai): validate ui stream data chunks
5 changes: 5 additions & 0 deletions .changeset/fresh-jeans-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/react': patch
---

fix (ai/react): chat instance recreation in useChat
5 changes: 5 additions & 0 deletions .changeset/fuzzy-goats-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ai): add experimental Agent abstraction
5 changes: 5 additions & 0 deletions .changeset/gentle-hairs-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/gateway': patch
---

feat (providers/gateway): include description and pricing info in model list
5 changes: 5 additions & 0 deletions .changeset/giant-eyes-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ui): add sendAutomaticallyWhen to Chat
5 changes: 5 additions & 0 deletions .changeset/giant-ravens-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

fix (ui): inject generated response message id
5 changes: 5 additions & 0 deletions .changeset/gold-weeks-turn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/anthropic': patch
---

fix(provider/anthropic): correct Claude 4 model ID format
5 changes: 5 additions & 0 deletions .changeset/good-cycles-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/openai': patch
---

Add missing file_search tool support to OpenAI Responses API
5 changes: 5 additions & 0 deletions .changeset/good-masks-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/anthropic': patch
---

feat(provider/anthropic): add disable parallel tool use option
5 changes: 5 additions & 0 deletions .changeset/good-steaks-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

selectTelemetryAttributes more robustness
21 changes: 21 additions & 0 deletions .changeset/good-trains-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
'@ai-sdk/google': patch
---

embed() now uses the single embeddings endpoint
No code updates are needed.

This is to make sure that users are not ratelimited when using the batch endpoint, since many models have different limits for batch and single embeddings.

Eg: Google has a limit of 150 RPM for batch requests, and 1500 RPM for single requests.

Before, AI SDK would always use the batch endpoint, even for embed() calls, which led to ratelimits.

This does not have any breaking functionality and is fully tested :)
if (values.length > 1) {
const batchResult = await this.doEmbedBatch({
values,
options,
});
return batchResult;
}
6 changes: 6 additions & 0 deletions .changeset/gorgeous-gifts-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@ai-sdk/openai': patch
'ai': patch
---

fix (provider/openai): multi-step reasoning with text
5 changes: 5 additions & 0 deletions .changeset/grumpy-apples-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ui): update Chat tool result submission
5 changes: 5 additions & 0 deletions .changeset/healthy-snakes-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/amazon-bedrock': patch
---

fix(amazon-bedrock): add structured output support for claude models
5 changes: 5 additions & 0 deletions .changeset/heavy-teachers-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

chore(ai): export AsyncIterableStream type from async-iterable-stream module
5 changes: 5 additions & 0 deletions .changeset/hip-paws-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/react': patch
---

fix message subscription out of sync when chat id changes after mount
5 changes: 5 additions & 0 deletions .changeset/hungry-nails-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

fix (ai): handle errors in 2nd streamText doStream call
5 changes: 5 additions & 0 deletions .changeset/khaki-walls-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/amazon-bedrock': patch
---

fix(amazon-bedrock): handle empty activeTools with tool conversation history
5 changes: 5 additions & 0 deletions .changeset/kind-icons-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/openai-compatible': patch
---

allow any string as reasoningEffort
5 changes: 5 additions & 0 deletions .changeset/late-socks-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat: ai sdk cli documentation + adjusted default model
5 changes: 5 additions & 0 deletions .changeset/lazy-beans-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/openai': patch
---

feat(openai): add file_search filters and update field names
5 changes: 5 additions & 0 deletions .changeset/lovely-boxes-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/openai': patch
---

fix(openai): update file_search fields to match API changes
5 changes: 5 additions & 0 deletions .changeset/many-jobs-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/codemod': patch
---

release AI SDK 5.0 codemods package
6 changes: 6 additions & 0 deletions .changeset/metal-masks-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@ai-sdk/provider-utils': patch
'ai': patch
---

feat: allow zod 4.x as peer dependency
5 changes: 5 additions & 0 deletions .changeset/mighty-spies-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

Fix error thrown when emptying messages in onError or onFinish
5 changes: 5 additions & 0 deletions .changeset/modern-grapes-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ai): export Chat callback types
5 changes: 5 additions & 0 deletions .changeset/modern-trains-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/perplexity': major
---

feat(provider/perplexity): support image input
5 changes: 5 additions & 0 deletions .changeset/nasty-avocados-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/angular': major
---

Add Angular support
5 changes: 5 additions & 0 deletions .changeset/nasty-cows-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ai/core): add terminateOnError option to readUIMessageStream
5 changes: 5 additions & 0 deletions .changeset/nasty-eggs-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/groq': patch
---

feat: add kimi k2 model via groq
5 changes: 5 additions & 0 deletions .changeset/nasty-queens-play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/xai': patch
---

fix (provider/grok): filter duplicated reasoning chunks
5 changes: 5 additions & 0 deletions .changeset/neat-frogs-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/openai-compatible': patch
---

Add (optional) includeUsage option to createOpenAICompatible
5 changes: 5 additions & 0 deletions .changeset/new-rats-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/gateway': patch
---

feat (provider/gateway): add qwen3 coder model id
5 changes: 5 additions & 0 deletions .changeset/nice-dogs-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ai): step input message modification in prepareStep
5 changes: 5 additions & 0 deletions .changeset/nice-jars-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/codemod': patch
---

feat(codemods): added v4→v5 migration codemods
5 changes: 5 additions & 0 deletions .changeset/ninety-seahorses-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat (ui): add onData callback to Chat
5 changes: 5 additions & 0 deletions .changeset/old-yaks-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/azure': patch
---

update: Azure OpenAI provider to v1 API format
5 changes: 5 additions & 0 deletions .changeset/orange-clocks-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/google': patch
---

Add Gemini 2.5 Flash Lite GA
5 changes: 5 additions & 0 deletions .changeset/perfect-bottles-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

chore(ai): bundle dependencies in CLI binary
5 changes: 5 additions & 0 deletions .changeset/perfect-deers-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/openai': patch
---

fix (provider/openai): correct default for chat model strict mode
Loading
Loading