Skip to content

Update dependency ai to v2.2.37 #512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update dependency ai to v2.2.37 #512

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 9, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ai (source) 2.2.16 -> 2.2.37 age adoption passing confidence

Release Notes

vercel/ai (ai)

v2.2.37

Compare Source

Patch Changes
  • a6b5764: Add support for Mistral's JavaScript SDK

v2.2.36

Compare Source

Patch Changes
  • 141f0ce: Fix: onFinal callback is invoked with text from onToolCall when onToolCall returns string

v2.2.35

Compare Source

Patch Changes
  • b717dad: Adding Inkeep as a stream provider

v2.2.34

Compare Source

Patch Changes
  • 2c8ffdb: cohere-stream: support AsyncIterable
  • ed1e278: Message annotations handling for all Message types

v2.2.33

Compare Source

Patch Changes
  • 8542ae7: react/use-assistant: add onError handler
  • 97039ff: OpenAIStream: Add support for the Azure OpenAI client library

v2.2.32

Compare Source

Patch Changes
  • 7851fa0: StreamData: add annotations and appendMessageAnnotation support

v2.2.31

Compare Source

Patch Changes
  • 9b89c4d: react/use-assistant: Expose setInput
  • 75751c9: ai/react: Add experimental_onToolCall to useChat.

v2.2.30

Compare Source

Patch Changes
  • ac503e0: ai/solid: add chat request options to useChat
  • b78a73e: Add GoogleGenerativeAIStream for Gemini support
  • 5220336: ai/svelte: Add experimental_onToolCall to useChat.
  • ef99062: Add support for the Anthropic message API
  • 5220336: Add experimental_onToolCall to OpenAIStream.
  • ac503e0: ai/vue: add chat request options to useChat

v2.2.29

Compare Source

Patch Changes
  • 5a9ae2e: ai/prompt: add experimental_buildOpenAIMessages to validate and cast AI SDK messages to OpenAI messages

v2.2.28

Compare Source

Patch Changes
  • 07a679c: Add data message support to useAssistant & assistantResponse.
  • fbae595: ai/react: api functions are no longer used as a cache key in useChat

v2.2.27

Compare Source

Patch Changes
  • 0fd1205: ai/vue: Add complex response parsing and StreamData support to useCompletion
  • a7dc746: experimental_useAssistant: Expose extra fetch options
  • 3dcf01e: ai/react Add data support to useCompletion
  • 0c3b338: ai/svelte: Add complex response parsing and StreamData support to useCompletion
  • 8284777: ai/solid: Add complex response parsing and StreamData support to useCompletion

v2.2.26

Compare Source

Patch Changes
  • df1ad33: ai/vue: Add complex response parsing and StreamData support to useChat
  • 3ff8a56: Add generateId to use-chat params to allow overriding message ID generation
  • 6c2a49c: ai/react experimental_useAssistant() submit can be called without an event
  • 8b4f7d1: ai/react: Add complex response parsing and StreamData support to useCompletion

v2.2.25

Compare Source

Patch Changes
  • 1e61c69: chore: specify the minimum react version to 18
  • 6aec2d2: Expose threadId in useAssistant
  • c2369df: Add AWS Bedrock support
  • 223fde3: ai/svelte: Add complex response parsing and StreamData support to useChat

v2.2.24

Compare Source

Patch Changes
  • 69ca8f5: ai/react: add experimental_useAssistant hook and experimental_AssistantResponse
  • 3e2299e: experimental_StreamData/StreamingReactResponse: optimize parsing, improve types
  • 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 and the accompanying example for the Assistants API, and this example for working with the new data API for vision.

Thanks @​lgrammel for the great work in this release!

v2.2.23

Compare Source

Patch Changes
  • 5a04321: add StreamData support to StreamingReactResponse, add client-side data API to react/use-chat

v2.2.22

Compare Source

Patch Changes
  • 4529831: ai/react: Do not store initialMessages in useState, patches a regression with initialMessages
  • db5378c: experimental_StreamData: fix data type to be JSONValue

v2.2.21

Compare Source

Patch Changes

v2.2.20

Compare Source

Patch Changes
  • 424d5ee: experimental_StreamData: fix trailing newline parsing bug in decoder
  • c364c6a: cohere: fix closing cohere stream, avoids response from hanging

v2.2.19

Compare Source

Patch Changes
  • 699552d: add experimental_StreamingReactResponse

v2.2.18

Compare Source

Patch Changes
  • 0bd27f6: react/use-chat: allow client-side handling of function call without following response

v2.2.17

Compare Source

Patch Changes
  • 5ed581d: Use interface instead of type for Message to allow declaration merging
  • 9adec1e: vue and solid: fix including function_call and name fields in subsequent requests

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants