vercel/ai (ai)
### [`v2.2.31`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.31)
[Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.30...ai@2.2.31)
##### Patch Changes
- [`9b89c4d`](https://togithub.com/vercel/ai/commit/9b89c4d): react/use-assistant: Expose setInput
- [`75751c9`](https://togithub.com/vercel/ai/commit/75751c9): ai/react: Add experimental_onToolCall to useChat.
### [`v2.2.30`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.30)
[Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.29...ai@2.2.30)
##### Patch Changes
- [`ac503e0`](https://togithub.com/vercel/ai/commit/ac503e0): ai/solid: add chat request options to useChat
- [`b78a73e`](https://togithub.com/vercel/ai/commit/b78a73e): Add GoogleGenerativeAIStream for Gemini support
- [`5220336`](https://togithub.com/vercel/ai/commit/5220336): ai/svelte: Add experimental_onToolCall to useChat.
- [`ef99062`](https://togithub.com/vercel/ai/commit/ef99062): Add support for the Anthropic message API
- [`5220336`](https://togithub.com/vercel/ai/commit/5220336): Add experimental_onToolCall to OpenAIStream.
- [`ac503e0`](https://togithub.com/vercel/ai/commit/ac503e0): ai/vue: add chat request options to useChat
### [`v2.2.29`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.29)
[Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.28...ai@2.2.29)
##### Patch Changes
- [`5a9ae2e`](https://togithub.com/vercel/ai/commit/5a9ae2e): ai/prompt: add `experimental_buildOpenAIMessages` to validate and cast AI SDK messages to OpenAI messages
### [`v2.2.28`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.28)
[Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.27...ai@2.2.28)
##### Patch Changes
- [`07a679c`](https://togithub.com/vercel/ai/commit/07a679c): Add data message support to useAssistant & assistantResponse.
- [`fbae595`](https://togithub.com/vercel/ai/commit/fbae595): ai/react: `api` functions are no longer used as a cache key in `useChat`
### [`v2.2.27`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.27)
[Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.26...ai@2.2.27)
##### Patch Changes
- [`0fd1205`](https://togithub.com/vercel/ai/commit/0fd1205): ai/vue: Add complex response parsing and StreamData support to useCompletion
- [`a7dc746`](https://togithub.com/vercel/ai/commit/a7dc746): experimental_useAssistant: Expose extra fetch options
- [`3dcf01e`](https://togithub.com/vercel/ai/commit/3dcf01e): ai/react Add data support to useCompletion
- [`0c3b338`](https://togithub.com/vercel/ai/commit/0c3b338): ai/svelte: Add complex response parsing and StreamData support to useCompletion
- [`8284777`](https://togithub.com/vercel/ai/commit/8284777): ai/solid: Add complex response parsing and StreamData support to useCompletion
### [`v2.2.26`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.26)
[Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.25...ai@2.2.26)
##### Patch Changes
- [`df1ad33`](https://togithub.com/vercel/ai/commit/df1ad33): ai/vue: Add complex response parsing and StreamData support to useChat
- [`3ff8a56`](https://togithub.com/vercel/ai/commit/3ff8a56): Add `generateId` to use-chat params to allow overriding message ID generation
- [`6c2a49c`](https://togithub.com/vercel/ai/commit/6c2a49c): ai/react experimental_useAssistant() submit can be called without an event
- [`8b4f7d1`](https://togithub.com/vercel/ai/commit/8b4f7d1): ai/react: Add complex response parsing and StreamData support to useCompletion
### [`v2.2.25`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.25)
[Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.24...ai@2.2.25)
##### Patch Changes
- [`1e61c69`](https://togithub.com/vercel/ai/commit/1e61c69): chore: specify the minimum react version to 18
- [`6aec2d2`](https://togithub.com/vercel/ai/commit/6aec2d2): Expose threadId in useAssistant
- [`c2369df`](https://togithub.com/vercel/ai/commit/c2369df): Add AWS Bedrock support
- [`223fde3`](https://togithub.com/vercel/ai/commit/223fde3): ai/svelte: Add complex response parsing and StreamData support to useChat
### [`v2.2.24`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.24)
[Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.23...ai@2.2.24)
##### Patch Changes
- [`69ca8f5`](https://togithub.com/vercel/ai/commit/69ca8f5): ai/react: add experimental_useAssistant hook and experimental_AssistantResponse
- [`3e2299e`](https://togithub.com/vercel/ai/commit/3e2299e): experimental_StreamData/StreamingReactResponse: optimize parsing, improve types
- [`70bd2ac`](https://togithub.com/vercel/ai/commit/70bd2ac): ai/solid: add experimental_StreamData support to useChat
Proper documentation for the new features will be ready in the near future, but in the meantime you can refer to [this document](https://togithub.com/vercel/ai/blob/main/examples/next-openai/app/api/assistant/assistant-setup.md) and the accompanying [example](https://togithub.com/vercel/ai/blob/main/examples/next-openai/app/api/assistant/route.ts) for the Assistants API, and [this example](https://togithub.com/vercel/ai/blob/fbda5b20afe33f1e9b73644a1052954b2d2e7602/examples/next-openai/app/api/chat-with-vision) for working with the new `data` API for vision.
Thanks [@lgrammel](https://togithub.com/lgrammel) for the great work in this release!
### [`v2.2.23`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.23)
[Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.22...ai@2.2.23)
##### Patch Changes
- [`5a04321`](https://togithub.com/vercel/ai/commit/5a04321): add StreamData support to StreamingReactResponse, add client-side data API to react/use-chat
### [`v2.2.22`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.22)
[Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.21...ai@2.2.22)
##### Patch Changes
- [`4529831`](https://togithub.com/vercel/ai/commit/4529831): ai/react: Do not store initialMessages in useState, patches a regression with `initialMessages`
- [`db5378c`](https://togithub.com/vercel/ai/commit/db5378c): experimental_StreamData: fix data type to be JSONValue
### [`v2.2.21`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.21)
[Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.20...ai@2.2.21)
##### Patch Changes
- [`2c8d4bd`](https://togithub.com/vercel/ai/commit/2c8d4bd): Support openai@4.16.0 and later
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.2.20
->2.2.31
Release Notes
vercel/ai (ai)
### [`v2.2.31`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.31) [Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.30...ai@2.2.31) ##### Patch Changes - [`9b89c4d`](https://togithub.com/vercel/ai/commit/9b89c4d): react/use-assistant: Expose setInput - [`75751c9`](https://togithub.com/vercel/ai/commit/75751c9): ai/react: Add experimental_onToolCall to useChat. ### [`v2.2.30`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.30) [Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.29...ai@2.2.30) ##### Patch Changes - [`ac503e0`](https://togithub.com/vercel/ai/commit/ac503e0): ai/solid: add chat request options to useChat - [`b78a73e`](https://togithub.com/vercel/ai/commit/b78a73e): Add GoogleGenerativeAIStream for Gemini support - [`5220336`](https://togithub.com/vercel/ai/commit/5220336): ai/svelte: Add experimental_onToolCall to useChat. - [`ef99062`](https://togithub.com/vercel/ai/commit/ef99062): Add support for the Anthropic message API - [`5220336`](https://togithub.com/vercel/ai/commit/5220336): Add experimental_onToolCall to OpenAIStream. - [`ac503e0`](https://togithub.com/vercel/ai/commit/ac503e0): ai/vue: add chat request options to useChat ### [`v2.2.29`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.29) [Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.28...ai@2.2.29) ##### Patch Changes - [`5a9ae2e`](https://togithub.com/vercel/ai/commit/5a9ae2e): ai/prompt: add `experimental_buildOpenAIMessages` to validate and cast AI SDK messages to OpenAI messages ### [`v2.2.28`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.28) [Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.27...ai@2.2.28) ##### Patch Changes - [`07a679c`](https://togithub.com/vercel/ai/commit/07a679c): Add data message support to useAssistant & assistantResponse. - [`fbae595`](https://togithub.com/vercel/ai/commit/fbae595): ai/react: `api` functions are no longer used as a cache key in `useChat` ### [`v2.2.27`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.27) [Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.26...ai@2.2.27) ##### Patch Changes - [`0fd1205`](https://togithub.com/vercel/ai/commit/0fd1205): ai/vue: Add complex response parsing and StreamData support to useCompletion - [`a7dc746`](https://togithub.com/vercel/ai/commit/a7dc746): experimental_useAssistant: Expose extra fetch options - [`3dcf01e`](https://togithub.com/vercel/ai/commit/3dcf01e): ai/react Add data support to useCompletion - [`0c3b338`](https://togithub.com/vercel/ai/commit/0c3b338): ai/svelte: Add complex response parsing and StreamData support to useCompletion - [`8284777`](https://togithub.com/vercel/ai/commit/8284777): ai/solid: Add complex response parsing and StreamData support to useCompletion ### [`v2.2.26`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.26) [Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.25...ai@2.2.26) ##### Patch Changes - [`df1ad33`](https://togithub.com/vercel/ai/commit/df1ad33): ai/vue: Add complex response parsing and StreamData support to useChat - [`3ff8a56`](https://togithub.com/vercel/ai/commit/3ff8a56): Add `generateId` to use-chat params to allow overriding message ID generation - [`6c2a49c`](https://togithub.com/vercel/ai/commit/6c2a49c): ai/react experimental_useAssistant() submit can be called without an event - [`8b4f7d1`](https://togithub.com/vercel/ai/commit/8b4f7d1): ai/react: Add complex response parsing and StreamData support to useCompletion ### [`v2.2.25`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.25) [Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.24...ai@2.2.25) ##### Patch Changes - [`1e61c69`](https://togithub.com/vercel/ai/commit/1e61c69): chore: specify the minimum react version to 18 - [`6aec2d2`](https://togithub.com/vercel/ai/commit/6aec2d2): Expose threadId in useAssistant - [`c2369df`](https://togithub.com/vercel/ai/commit/c2369df): Add AWS Bedrock support - [`223fde3`](https://togithub.com/vercel/ai/commit/223fde3): ai/svelte: Add complex response parsing and StreamData support to useChat ### [`v2.2.24`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.24) [Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.23...ai@2.2.24) ##### Patch Changes - [`69ca8f5`](https://togithub.com/vercel/ai/commit/69ca8f5): ai/react: add experimental_useAssistant hook and experimental_AssistantResponse - [`3e2299e`](https://togithub.com/vercel/ai/commit/3e2299e): experimental_StreamData/StreamingReactResponse: optimize parsing, improve types - [`70bd2ac`](https://togithub.com/vercel/ai/commit/70bd2ac): ai/solid: add experimental_StreamData support to useChat Proper documentation for the new features will be ready in the near future, but in the meantime you can refer to [this document](https://togithub.com/vercel/ai/blob/main/examples/next-openai/app/api/assistant/assistant-setup.md) and the accompanying [example](https://togithub.com/vercel/ai/blob/main/examples/next-openai/app/api/assistant/route.ts) for the Assistants API, and [this example](https://togithub.com/vercel/ai/blob/fbda5b20afe33f1e9b73644a1052954b2d2e7602/examples/next-openai/app/api/chat-with-vision) for working with the new `data` API for vision. Thanks [@lgrammel](https://togithub.com/lgrammel) for the great work in this release! ### [`v2.2.23`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.23) [Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.22...ai@2.2.23) ##### Patch Changes - [`5a04321`](https://togithub.com/vercel/ai/commit/5a04321): add StreamData support to StreamingReactResponse, add client-side data API to react/use-chat ### [`v2.2.22`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.22) [Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.21...ai@2.2.22) ##### Patch Changes - [`4529831`](https://togithub.com/vercel/ai/commit/4529831): ai/react: Do not store initialMessages in useState, patches a regression with `initialMessages` - [`db5378c`](https://togithub.com/vercel/ai/commit/db5378c): experimental_StreamData: fix data type to be JSONValue ### [`v2.2.21`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.21) [Compare Source](https://togithub.com/vercel/ai/compare/ai@2.2.20...ai@2.2.21) ##### Patch Changes - [`2c8d4bd`](https://togithub.com/vercel/ai/commit/2c8d4bd): Support openai@4.16.0 and laterConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 has been generated by Mend Renovate. View repository job log here.