Update dependency ai to v3#99
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Member
|
👍 @renovate[bot] |
37425ae to
29a35c3
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^2.2.37->^3.0.0Release Notes
vercel/ai (ai)
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
Patch Changes
b86af09: feat (ai/core): add langchain stream event v2 support to LangChainAdapterv3.2.30Compare Source
Patch Changes
19c3d50]v3.2.29Compare Source
Patch Changes
e710b38: fix (ai/core): race condition in mergeStreams6078a69: feat (ai/core): introduce stream data support in toAIStreamResponsev3.2.28Compare Source
Patch Changes
68d1f78: fix (ai/core): do not construct object promise in streamObject result until requestedf0bc1e7: feat (ai/ui): add system message support to convertToCoreMessages1f67fe4: feat (ai/ui): stream tool calls with streamText and useChat1f67fe4]v3.2.27Compare Source
Patch Changes
811f449: fix (ai/core): generateText token usage is sum over all roundtripsv3.2.26Compare Source
Patch Changes
8f545ce: fix (ai/core): forward request headers in generateObject and streamObjectv3.2.25Compare Source
Patch Changes
99ddbb7: feat (ai/react): add experimental support for managing attachments to useChat99ddbb7]v3.2.24Compare Source
Patch Changes
f041c05: feat (ai/core): add roundtrips property to generateText resultv3.2.23Compare Source
Patch Changes
a6cb2c8: feat (ai/ui): add keepLastMessageOnError option to useChata6cb2c8]v3.2.22Compare Source
Patch Changes
53fccf1: fix (ai/core): report error on controllerdd0d854: feat (ai/vue): add useAssistantdd0d854]v3.2.21Compare Source
Patch Changes
56bbc2a: feat (ai/ui): set body and headers directly on options for handleSubmit and append56bbc2a]v3.2.20Compare Source
Patch Changes
671331b: feat (core): add experimental OpenTelemetry support for generateText and streamTextv3.2.19Compare Source
Patch Changes
b729094: chore (ai/core): rename TokenUsage type to CompletionTokenUsageb729094: feat (ai/core): add token usage to embed and embedManyb729094]v3.2.18Compare Source
Patch Changes
70d1800]v3.2.17Compare Source
Patch Changes
3db90c3: allow empty handleSubmit submissions for useChatabb2260: feat (ai): verify that system messages have string content5c1f0bd: fix unclosed streamable value console message6a11cfa]3db90c3]d481729]v3.2.16Compare Source
Patch Changes
3f756a6]v3.2.15Compare Source
Patch Changes
6c99581: fix (ai/react): stop() on useObject does not throw error and clears isLoading6c99581]v3.2.14Compare Source
Patch Changes
9b50003]1894f81]v3.2.13Compare Source
Patch Changes
d3100b9: feat (ai/ui): support custom fetch function in useChat, useCompletion, useAssistant, useObjectd3100b9]v3.2.12Compare Source
Patch Changes
5edc611: feat (ai/core): add custom request header support5edc611]5edc611]5edc611]v3.2.11Compare Source
Patch Changes
c908f74: chore (ui/solid): update solidjs useChat and useCompletion to feature parity with React827ef45: feat (ai/ui): improve error handling in useAssistantc908f74]827ef45]v3.2.10Compare Source
Patch Changes
5b04204]8f48290]v3.2.9Compare Source
Patch Changes
82d9c8d: feat (ai/ui): make event in useAssistant submitMessage optional82d9c8d]321a7d0]82d9c8d]v3.2.8Compare Source
Patch Changes
54bf408: feat (ai/react): control request body in useChat54bf408]v3.2.7Compare Source
Patch Changes
d42b890: feat (ui): make event in handleSubmit optionald42b890]v3.2.6Compare Source
Patch Changes
74e2822: fix (ai/rsc): "could not find InternalStreamableUIClient" bugv3.2.5Compare Source
Patch Changes
4d426d0: fix (ai): split provider and model ids correctly in the provider registryv3.2.4Compare Source
Patch Changes
3cb103b]v3.2.3Compare Source
Patch Changes
89b7552: chore (ai): remove deprecation from ai/react imports, add experimental_useObject02f6a08]v3.2.2Compare Source
Patch Changes
0565cd7: feat (ai/core): add toJsonResponse to generateObject result.v3.2.1Compare Source
Patch Changes
008725e: feat (ai): add textStream, toTextStreamResponse(), and pipeTextStreamToResponse() to streamObject520fb2d: feat (rsc): add streamUI onFinish callback008725e]008725e]v3.2.0Compare Source
Minor Changes
85ef6d1: chore (ai): AI SDK 3.2 releasePatch Changes
b965dd2: fix (core): pass settings correctly for generateObject and streamObjectv3.1.37Compare Source
Patch Changes
8571289: chore (@ai-sdk/provider-utils): move test helper to provider utils8571289]8571289]v3.1.36Compare Source
Patch Changes
4728c37: feat (core): add text embedding model support to provider registry8c49166: chore (core): rename experimental_createModelRegistry to experimental_createProviderRegistry7910ae8]v3.1.35Compare Source
Patch Changes
0612350: feat (core): support https and data url strings in image partsv3.1.34Compare Source
Patch Changes
d25566a: feat (core): add cosineSimilarity helper function87a5d27: feat (core): introduce InvalidMessageRoleError.v3.1.33Compare Source
Patch Changes
6fb14b5: chore (streams): deprecate nanoid export.0553676: feat (core): add experimental model registryv3.1.32Compare Source
Patch Changes
3cabf07: fix(ai/rsc): Refactor streamable UI internal implementationv3.1.31Compare Source
Patch Changes
85f209a: chore: extracted ui library support into separate modules85f209a: removed (streams): experimental_StreamingReactResponse was removed. Please use AI SDK RSC instead.85f209a]v3.1.30Compare Source
Patch Changes
fcf4323: fix (core): filter out empty assistant text messagesv3.1.29Compare Source
Patch Changes
28427d3: feat (core): add streamObject onFinish callbackv3.1.28Compare Source
Patch Changes
102ca22: feat (core): add object promise to streamObject result102ca22]v3.1.27Compare Source
Patch Changes
c9198d4: feat (ui): send annotation and data fields in useChat when sendExtraMessageFields is true09295e2]09295e2]043a5de]v3.1.26Compare Source
Patch Changes
5ee44ca: feat (provider): langchain StringOutputParser supportv3.1.25Compare Source
Patch Changes
ff28112: fix(ai/rsc): Remove extra reconcilation of streamUIv3.1.24Compare Source
Patch Changes
93cae12: fix(ai/rsc): Fix unsafe {} type in application code for StreamableValue08b5c50: feat (core): add tokenUsage to streamObject resultv3.1.23Compare Source
Patch Changes
c03cafe: chore (core, ui): rename maxAutomaticRoundtrips to maxToolRoundtripsv3.1.22Compare Source
Patch Changes
14bb869: chore (ui): move maxAutomaticRoundtrips and addToolResult out of experimentalv3.1.21Compare Source
Patch Changes
213f241: fix (core,streams): support ResponseInit variants09698bc: chore (streams): deprecate streaming helpers that have a provider replacementv3.1.20Compare Source
Patch Changes
0e1da47: feat (core): add maxAutomaticRoundtrips setting to generateTextv3.1.19Compare Source
Patch Changes
9882d24: fix (ui/svelte): send data to server131bbd3: fix (ui): remove console.log statementsv3.1.18Compare Source
Patch Changes
f9dee8a: fix(ai/rsc): Fix types for createStreamableValue and createStreamableUI1c0ebf8: feat (core): add responseMessages to generateText resultv3.1.17Compare Source
Patch Changes
92b993b: ai/rsc: improve getAIState and getMutableAIState types7de628e: chore (ui): deprecate old function/tool call handling7de628e: feat (ui): add onToolCall handler to useChatv3.1.16Compare Source
Patch Changes
f39c0dd: feat (core, rsc): add toolChoice settingf39c0dd]v3.1.15Compare Source
Patch Changes
8e78028: feat (ai/core): add onFinish callback to streamText8e78028: feat (ai/core): add text, toolCalls, and toolResults promises to StreamTextResult (matching the generateText result API with async methods)8e78028]v3.1.14Compare Source
Patch Changes
6109c6a: feat (ai/react): add experimental_maxAutomaticRoundtrips to useChatv3.1.13Compare Source
Patch Changes
60117c9: dependencies (ai/ui): add React 18.3 and 19 support (peer dependency)6a50ac4]6a50ac4]v3.1.12Compare Source
Patch Changes
ae05fb7: feat (ai/streams): add StreamData support to streamToResponsev3.1.11Compare Source
Patch Changes
a085d42: fix (ai/ui): decouple StreamData chunks from LLM streamv3.1.10Compare Source
Patch Changes
3a21030: feat (ai/core): add embedMany functionv3.1.9Compare Source
Patch Changes
18a9655: feat (ai/svelte): add useAssistantv3.1.8Compare Source
Patch Changes
0f6bc4e: feat (ai/core): add embed function0f6bc4e]v3.1.7Compare Source
Patch Changes
f617b97: feat (ai): support client/server tool calls with useChat and streamTextv3.1.6Compare Source
Patch Changes
2e78acb: Deprecate StreamingReactResponse (use AI SDK RSC instead).8439884: ai/rsc: make RSC streamable utils chainable325ca55: feat (ai/core): improve image content part error message325ca55]v3.1.5Compare Source
Patch Changes
5b01c13: feat (ai/core): add system message support in messages listv3.1.4Compare Source
Patch Changes
ceb44bc: feat (ai/ui): add stop() helper to useAssistant (important: AssistantResponse now requires OpenAI SDK 4.42+)37c9d4c: feat (ai/streams): add LangChainAdapter.toAIStream()v3.1.3Compare Source
Patch Changes
970a099: fix (ai/core): streamObject fixes partial json with empty objects correctly1ac2390: feat (ai/core): add usage and finishReason to streamText result.276f22b]v3.1.2Compare Source
Patch Changes
d1b1880: fix (ai/core): allow reading streams in streamText result multiple timesv3.1.1Compare Source
Patch Changes
0f77132: ai/rsc: remove experimental_ from streamUIv3.1.0Compare Source
Minor Changes
73356a9: Move AI Core functions out of experimental (streamText, generateText, streamObject, generateObject).v3.0.35Compare Source
Patch Changes
41d5736: ai/core: re-expose language model types.b4c68ec: ai/rsc: ReadableStream as provider for createStreamableValue; add .append() method41d5736]v3.0.34Compare Source
Patch Changes
b9a831e: ai/rsc: add experimental_streamUI()v3.0.33Compare Source
Patch Changes
56ef84a: ai/core: fix abort handling in transformation stream56ef84a]v3.0.32Compare Source
Patch Changes
0e0d2af: ai/core: add pipeTextStreamToResponse helper to streamText.v3.0.31Compare Source
Patch Changes
74c63b1: ai/core: add toAIStreamResponse() helper to streamText.v3.0.30Compare Source
Patch Changes
e7e5898: use-assistant: fix missing message contentv3.0.29Compare Source
Patch Changes
22a737e: Fix: mark useAssistant as in progress for append/submitMessage.v3.0.28Compare Source
Patch Changes
d6431ae: ai/core: add logprobs support (thanks @SamStenner for the contribution)25f3350: ai/core: add support for getting raw response headers.d6431ae]25f3350]v3.0.27Compare Source
Patch Changes
eb150a6: ai/core: remove scaling of setting values (breaking change). If you were using the temperature, frequency penalty, or presence penalty settings, you need to update the providers and adjust the setting values.eb150a6]v3.0.26Compare Source
Patch Changes
f90f6a1: ai/core: add pipeAIStreamToResponse() to streamText result.v3.0.25Compare Source
Patch Changes
1e84d6d: Fix: remove mistral lib type dependency.9c2a049: Add append() helper to useAssistant.v3.0.24Compare Source
Patch Changes
e94fb32: feat(ai/rsc): MakeonSetAIStateandonGetUIStatestablev3.0.23Compare Source
Patch Changes
66b5892: Add streamMode parameter to useChat and useCompletion.7b8791d]v3.0.22Compare Source
Patch Changes
d544886: Breaking change: extract experimental AI core provider packages. They can now be imported with e.g. import { openai } from '@ai-sdk/openai' after adding them to a project.ea6b0e1: Expose formatStreamPart, parseStreamPart, and readDataStream helpers.v3.0.21Compare Source
Patch Changes
87d3db5: Extracted @ai-sdk/provider package8c40f8c: ai/core: Fix openai provider streamObject for gpt-4-turbo5cd29bd: ai/core: add toTextStreamResponse() method to streamText resultv3.0.20Compare Source
Patch Changes
f42bbb5: Remove experimental from useAssistant and AssistantResponse.149fe26: Deprecate2eb4b55: Remove experimental_ prefix from StreamData.e45fa96: Add stream support for Bedrock/Cohere.a6b2500: Deprecated theexperimental_streamData: truesetting from AIStreamCallbacksAndOptions. You can delete occurrences in your code. The stream data protocol is now used by default.v3.0.19Compare Source
Patch Changes
4f4c7f5: ai/core: Anthropic tool call supportv3.0.18Compare Source
Patch Changes
63d587e: Add Anthropic provider for ai/core functions (no tool calling).63d587e: Add automatic mime type detection for images in ai/core prompts.v3.0.17Compare Source
Patch Changes
2b991c4: Add Google Generative AI provider for ai/core functions.v3.0.16Compare Source
Patch Changes
a54ea77: feat(ai/rsc): adduseStreamableValuev3.0.15Compare Source
Patch Changes
4aed2a5: Add JSDoc comments for ai/core functions.cf8d12f: Export experimental language model specification underai/spec.v3.0.14Compare Source
Patch Changes
8088de8: fix(ai/rsc): improve typings forStreamableValue20007b9: feat(ai/rsc): support string diff and patch in streamable value6039460: Support Bedrock Anthropic Stream for Messages API.e83bfe3: Added experimental ai/core functions (streamText, generateText, streamObject, generateObject). Add OpenAI and Mistral language model providers.v3.0.13Compare Source
Patch Changes
026d061: Expose setMessages in useAssistant hook42209be: AssistantResponse: specify forwardStream return type.v3.0.12Compare Source
Patch Changes
b99b008: fix(ai/rsc): avoid appending boundary if the same reference was passedv3.0.11Compare Source
Patch Changes
ce009e2: Added OpenAI assistants streaming.3f9bf3e: Updates types to OpenAI SDK 4.29.0v3.0.10Compare Source
Patch Changes
33d261a: fix(ai/rsc): Fix .append() behaviorv3.0.9Compare Source
Patch Changes
81ca3d6: fix(ai/rsc): improve .done() argument typev3.0.8Compare Source
Patch Changes
a94aab2: ai/rsc: optimize streamable value stream sizev3.0.7Compare Source
Patch Changes
9a9ae73: feat(ai/rsc): readStreamableValuev3.0.6Compare Source
Patch Changes
1355ad0: Fix: experimental_onToolCall is called with parsed tool args9348f06: ai/rsc: improve dev error and warnings by trying to detect hanging streams8be9404: fix type resolutionv3.0.5Compare Source
Patch Changes
a973f1e: Support Anthropic SDK v0.15.0e25f3ca: type improvementsv3.0.4Compare Source
Patch Changes
7962862: fixuseActionstype inferenceaab5324: Revert "fix(render): parse the args based on the zod schema"fe55612: Bump OpenAI dependency to 4.28.4; fix type error in renderv3.0.3Compare Source
Patch Changes
4d816ca: fix(render): parse the args based on the zod schemad158a47: fix potential race conditionsv3.0.2Compare Source
Patch Changes
73bd06e: fix(useActions): return typed objectv3.0.1Compare Source
Patch Changes
ac20a25: ai/rsc: fix text response and async generatorb88778f: Added onText callback for text tokens.v3.0.0Compare Source
Major Changes
51054a9: Addai/rscwith support for AI Server ComponentsConfiguration
📅 Schedule: Branch creation - "on sunday before 6:00am" in timezone UTC, 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.