You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.1.17->3.4.33Release Notes
vercel/ai (ai)
v3.4.33Compare Source
Patch Changes
ac380e3: fix (provider/anthropic): continuation mode with 3+ stepsv3.4.32Compare Source
Patch Changes
6bb9e51: fix (ai/core): expose response.messages in streamTextv3.4.31Compare Source
Patch Changes
2dfb93e]v3.4.30Compare Source
Patch Changes
a85c965]v3.4.29Compare Source
Patch Changes
54b56f7: feat (ai/core): send tool and tool choice telemetry datav3.4.28Compare Source
Patch Changes
29f1390: feat (ai/test): add simulateReadableStream helperv3.4.27Compare Source
Patch Changes
fa772ae: feat (ai/core): automatically convert ui messages to core messagesv3.4.26Compare Source
Patch Changes
57f39ea: feat (ai/core): support multi-modal tool results in convertToCoreMessagesv3.4.25Compare Source
Patch Changes
6e0fa1c: fix (ai/core): wait for tool results to arrive before sending finish eventv3.4.24Compare Source
Patch Changes
d92fd9f: feat (ui/svelte): support Svelte 5 peer dependencyd92fd9f]v3.4.23Compare Source
Patch Changes
8301e41: fix (ai/react): update React peer dependency version to allow rc releases.8301e41]v3.4.22Compare Source
Patch Changes
3bf8da0]v3.4.21Compare Source
Patch Changes
3954471: (experimental) fix passing "experimental_toToolResultContent" into PoolResultPartv3.4.20Compare Source
Patch Changes
aa98cdb: chore: more flexible dependency versioning1486128: feat: add supportsUrl to language model specification3b1b69a: feat: provider-defined tools85b98da: revert fix (ai/core): handle tool calls without results in message conversion7ceed77: feat (ai/core): expose response message for each step811a317: feat (ai/core): multi-part tool results (incl. images)aa98cdb]1486128]7b937c5]3b1b69a]811a317]v3.4.18Compare Source
Patch Changes
95c67b4: fix (ai/core): handle tool calls without results in message conversionv3.4.17Compare Source
Patch Changes
e4ff512: fix (core): prevent unnecessary input/output serialization when telemetry is not enabledv3.4.16Compare Source
Patch Changes
01dcc44: feat (ai/core): add experimental activeTools option to generateText and streamTextv3.4.15Compare Source
Patch Changes
98a3b08]v3.4.14Compare Source
Patch Changes
e930f40: feat (ai/core): expose core tool result and tool call typesv3.4.13Compare Source
Patch Changes
fc39158: fix (ai/core): add abortSignal to tool helper functionv3.4.12Compare Source
Patch Changes
a23da5b: feat (ai/core): forward abort signal to toolsv3.4.11Compare Source
Patch Changes
caedcda: feat (ai/ui): add setData helper to useChatcaedcda]v3.4.10Compare Source
Patch Changes
0b557d7: feat (ai/core): add tracer option to telemetry settings44f6bc5: feat (ai/core): expose StepResult typev3.4.9Compare Source
Patch Changes
d347538: fix (ai/core): export FilePart interfacev3.4.8Compare Source
Patch Changes
b5f577e]v3.4.7Compare Source
Patch Changes
db04700: feat (core): support converting attachments to file parts988707c: feat (ai/core): automatically download files from urlsv3.4.6Compare Source
Patch Changes
d595d0d: feat (ai/core): file content partsd595d0d]v3.4.5Compare Source
Patch Changes
cd77c5d: feat (ai/core): add isContinued to stepscd77c5d]v3.4.4Compare Source
Patch Changes
4db074b: fix (ai/core): correct whitespace in generateText continueSteps1297e1b: fix (ai/core): correct whitespace in streamText continueStepsv3.4.3Compare Source
Patch Changes
b270ae3: feat (ai/core): streamText continueSteps (experimental)b270ae3: chore (ai/core): rename generateText continuationSteps to continueStepsv3.4.2Compare Source
Patch Changes
e6c7e98: feat (ai/core): add continuationSteps to generateTextv3.4.1Compare Source
Patch Changes
7e7104f]v3.4.0Compare Source
Minor Changes
c0cea03: release (ai): 3.4v3.3.44Compare Source
Patch Changes
d3933e0]v3.3.43Compare Source
Patch Changes
fea6bec: fix (ai/core): support tool calls without argumentsv3.3.42Compare Source
Patch Changes
de37aee: feat (ai): Add support for LlamaIndexv3.3.41Compare Source
Patch Changes
692e265]v3.3.40Compare Source
Patch Changes
a91c308: feat (ai/core): add responseMessages to streamTextv3.3.39Compare Source
Patch Changes
33cf3e1: feat (ai/core): add providerMetadata to StepResult17ee757: feat (ai/core): add onStepFinish callback to generateTextv3.3.38Compare Source
Patch Changes
83da52c: feat (ai/core): add onStepFinish callback to streamTextv3.3.37Compare Source
Patch Changes
273f696]v3.3.36Compare Source
Patch Changes
a3882f5: feat (ai/core): add steps property to streamText result and onFinish callback1f590ef: chore (ai): rename roundtrips to steps7e82d36: fix (ai/core): pass topK to providers54862e4]1f590ef]v3.3.35Compare Source
Patch Changes
14210d5: feat (ai/core): add sendUsage information to streamText data stream methods14210d5]v3.3.34Compare Source
Patch Changes
a0403d6: feat (react): support sending attachments using append678449a: feat (ai/core): export test helpersff22fac: fix (ai/rsc): streamUI onFinish is called when tool calls have finisheda0403d6]v3.3.33Compare Source
Patch Changes
cbddc83: fix (ai/core): filter out empty text partsv3.3.32Compare Source
Patch Changes
ce7a4af: feat (ai/core): support providerMetadata in functionsv3.3.31Compare Source
Patch Changes
561fd7e: feat (ai/core): add output: enum to generateObjectv3.3.30Compare Source
Patch Changes
6ee1f8e: feat (ai/core): add toDataStream to streamText resultv3.3.29Compare Source
Patch Changes
1e3dfd2: feat (ai/core): enhance pipeToData/TextStreamResponse methodsv3.3.28Compare Source
Patch Changes
db61c53: feat (ai/core): middleware supportv3.3.27Compare Source
Patch Changes
03313cd: feat (ai): expose response id, response model, response timestamp in telemetry and api3be7c1c: fix (provider/anthropic): support prompt caching on assistant messages03313cd]3be7c1c]v3.3.26Compare Source
Patch Changes
4ab883f]v3.3.25Compare Source
Patch Changes
4f1530f: feat (ai/core): add OpenTelemetry Semantic Conventions for GenAI operations to v1.27.0 of standarddad775f: feat (ai/core): add finish event and avg output tokens per second (telemetry)v3.3.24Compare Source
Patch Changes
d87a655: fix (ai/core): provide fallback when globalThis.performance is not availablev3.3.23Compare Source
Patch Changes
b55e6f7: fix (ai/core): streamObject text stream in array mode must not include elements: prefix.v3.3.22Compare Source
Patch Changes
a5a56fd: fix (ai/core): only send roundtrip-finish event after async tool calls are donev3.3.21Compare Source
Patch Changes
aa2dc58: feat (ai/core): add maxToolRoundtrips to streamTextaa2dc58]v3.3.20Compare Source
Patch Changes
7807677: fix (rsc): Deep clone currentState in getMutableState()v3.3.19Compare Source
Patch Changes
7235de0: fix (ai/core): convertToCoreMessages accepts Message[]v3.3.18Compare Source
Patch Changes
9e3b5a5: feat (ai/core): add experimental_customProvider26515cb: feat (ai/provider): introduce ProviderV1 specification26515cb]v3.3.17Compare Source
Patch Changes
d151349: feat (ai/core): array output for generateObject / streamObjectd151349]v3.3.16Compare Source
Patch Changes
09f895f: feat (ai/core): no-schema output for generateObject / streamObject09f895f]v3.3.15Compare Source
Patch Changes
b5a82b7: chore (ai): update zod-to-json-schema to 3.23.2b5a82b7]v3.3.14Compare Source
Patch Changes
d67fa9c]v3.3.13Compare Source
Patch Changes
412f943: fix (ai/core): make Buffer validation optional for environments without bufferv3.3.12Compare Source
Patch Changes
f2c025e: feat (ai/core): prompt validationf2c025e]v3.3.11Compare Source
Patch Changes
03eb0f4: feat (ai/core): add "ai.operationId" telemetry attribute099db96: feat (ai/core): add msToFirstChunk telemetry datab6c1dee]v3.3.10Compare Source
Patch Changes
04084a3]v3.3.9Compare Source
Patch Changes
6ac355e: feat (provider/anthropic): add cache control supportb56dee1: chore (ai): deprecate prompt helpers6ac355e]v3.3.8Compare Source
Patch Changes
dd712ac]v3.3.7Compare Source
Patch Changes
eccbd8e: feat (ai/core): add onChunk callback to streamTextdd4a0f5]v3.3.6Compare Source
Patch Changes
e9c891d: feat (ai/react): useObject supports non-Zod schemas3719e8a: chore (ai/core): provider registry code improvementse9c891d]4bd27a9]845754b]v3.3.5Compare Source
Patch Changes
9ada023: feat (ai/core): mask data stream error messages with streamTexte5b58f3]v3.3.4Compare Source
Patch Changes
029af4c: feat (ai/core): support schema name & description in generateObject & streamObject3806c0c: chore (ai/ui): increase stream data warning timeout to 15 secondsdb0118a: feat (ai/core): export Schema type029af4c]v3.3.3Compare Source
Patch Changes
d58517b: feat (ai/openai): structured outputsd58517b]v3.3.2Compare Source
Patch Changes
96aed25]v3.3.1Compare Source
Patch Changes
9614584: fix (ai/core): use Symbol.for0762a22: feat (ai/core): support zod transformers in generateObject & streamObject9614584]0762a22]v3.3.0Compare Source
Minor Changes
dbc3afb: chore (ai): release AI SDK 3.3Patch Changes
b982718: feat (ai/core): update operation.name telemetry attribute to include function id and detailed namev3.2.45Compare Source
Patch Changes
5be2512]v3.2.44Compare Source
Patch Changes
a147d04]v3.2.43Compare Source
Patch Changes
b68fae4]v3.2.42Compare Source
Patch Changes
f63c99e: feat (ai/core): record OpenTelemetry gen_ai attributesfea7b60]v3.2.41Compare Source
Patch Changes
a12044c: feat (ai/core): add recordInputs / recordOutputs setting to telemetry options1d93d71]v3.2.40Compare Source
Patch Changes
f56b7e6: feat (ai/ui): add toDataStreamResponse to LangchainAdapter.v3.2.39Compare Source
Patch Changes
b694f2f: feat (ai/svelte): add tool calling support to useChatb694f2f]v3.2.38Compare Source
Patch Changes
5c4b8cf: chore (ai/core): rename ai stream methods to data stream (in streamText, LangChainAdapter).c450fcf: feat (ui): invoke useChat onFinish with finishReason and tokense4a1719: chore (ai/ui): rename streamMode to streamProtocol10158bf: fix (ai/core): generateObject.doGenerate sets object telemetry attributec450fcf]e4a1719]v3.2.37Compare Source
Patch Changes
b2bee4c: fix (ai/ui): send data, body, headers in useChat().reloadb2bee4c]v3.2.36Compare Source
Patch Changes
a8d1c9e: feat (ai/core): parallel image downloadcfa360a: feat (ai/core): add telemetry support to embedMany function.49808ca: feat (ai/core): add telemetry to streamObjecta8d1c9e]v3.2.35Compare Source
Patch Changes
1be014b: feat (ai/core): add telemetry support for embed function.4f88248: feat (core): support json schema0d54523: chore (ai/svelte): change sswr into optional peer dependency4f88248]v3.2.34Compare Source
Patch Changes
2b9da0f: feat (core): support stopSequences setting.a5b5884: feat (core): support topK setting420f170: chore (ai/core): use interfaces for core function results13b27ec: chore (ai/core): remove grammar mode644f658: feat (ai/core): add telemetry to generateObject2b9da0f]a5b5884]4aa8deb]13b27ec]v3.2.33Compare Source
Patch Changes
4b2c09d: feat (ai/ui): add mutator function support to useChat / setMessages281e766: chore: add description to ai packagef63829f]4b2c09d]v3.2.32Compare Source
Patch Changes
5b7b3bb]v3.2.31Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.