Skip to content
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

Update dependency ai to v3 #99

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

Update dependency ai to v3 #99

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 30, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

vercel/ai (ai)

v3.2.33

Compare Source

Patch Changes

v3.2.32

Compare Source

Patch Changes

v3.2.31

Compare Source

Patch Changes
  • b86af09: feat (ai/core): add langchain stream event v2 support to LangChainAdapter

v3.2.30

Compare Source

Patch Changes

v3.2.29

Compare Source

Patch Changes
  • e710b38: fix (ai/core): race condition in mergeStreams
  • 6078a69: feat (ai/core): introduce stream data support in toAIStreamResponse

v3.2.28

Compare Source

Patch Changes

v3.2.27

Compare Source

Patch Changes
  • 811f449: fix (ai/core): generateText token usage is sum over all roundtrips

v3.2.26

Compare Source

Patch Changes
  • 8f545ce: fix (ai/core): forward request headers in generateObject and streamObject

v3.2.25

Compare Source

Patch Changes

v3.2.24

Compare Source

Patch Changes
  • f041c05: feat (ai/core): add roundtrips property to generateText result

v3.2.23

Compare Source

Patch Changes

v3.2.22

Compare Source

Patch Changes

v3.2.21

Compare Source

Patch Changes

v3.2.20

Compare Source

Patch Changes
  • 671331b: feat (core): add experimental OpenTelemetry support for generateText and streamText

v3.2.19

Compare Source

Patch Changes

v3.2.18

Compare Source

Patch Changes

v3.2.17

Compare Source

Patch Changes

v3.2.16

Compare Source

Patch Changes

v3.2.15

Compare Source

Patch Changes

v3.2.14

Compare Source

Patch Changes

v3.2.13

Compare Source

Patch Changes

v3.2.12

Compare Source

Patch Changes

v3.2.11

Compare Source

Patch Changes

v3.2.10

Compare Source

Patch Changes

v3.2.9

Compare Source

Patch Changes

v3.2.8

Compare Source

Patch Changes

v3.2.7

Compare Source

Patch Changes

v3.2.6

Compare Source

Patch Changes
  • 74e2822: fix (ai/rsc): "could not find InternalStreamableUIClient" bug

v3.2.5

Compare Source

Patch Changes
  • 4d426d0: fix (ai): split provider and model ids correctly in the provider registry

v3.2.4

Compare Source

Patch Changes

v3.2.3

Compare Source

Patch Changes

v3.2.2

Compare Source

Patch Changes
  • 0565cd7: feat (ai/core): add toJsonResponse to generateObject result.

v3.2.1

Compare Source

Patch Changes

v3.2.0

Compare Source

Minor Changes
  • 85ef6d1: chore (ai): AI SDK 3.2 release
Patch Changes
  • b965dd2: fix (core): pass settings correctly for generateObject and streamObject

v3.1.37

Compare Source

Patch Changes

v3.1.36

Compare Source

Patch Changes

v3.1.35

Compare Source

Patch Changes
  • 0612350: feat (core): support https and data url strings in image parts

v3.1.34

Compare Source

Patch Changes
  • d25566a: feat (core): add cosineSimilarity helper function
  • 87a5d27: feat (core): introduce InvalidMessageRoleError.

v3.1.33

Compare Source

Patch Changes
  • 6fb14b5: chore (streams): deprecate nanoid export.
  • 0553676: feat (core): add experimental model registry

v3.1.32

Compare Source

Patch Changes
  • 3cabf07: fix(ai/rsc): Refactor streamable UI internal implementation

v3.1.31

Compare Source

Patch Changes

v3.1.30

Compare Source

Patch Changes
  • fcf4323: fix (core): filter out empty assistant text messages

v3.1.29

Compare Source

Patch Changes
  • 28427d3: feat (core): add streamObject onFinish callback

v3.1.28

Compare Source

Patch Changes

v3.1.27

Compare Source

Patch Changes

v3.1.26

Compare Source

Patch Changes
  • 5ee44ca: feat (provider): langchain StringOutputParser support

v3.1.25

Compare Source

Patch Changes
  • ff28112: fix(ai/rsc): Remove extra reconcilation of streamUI

v3.1.24

Compare Source

Patch Changes
  • 93cae12: fix(ai/rsc): Fix unsafe {} type in application code for StreamableValue
  • 08b5c50: feat (core): add tokenUsage to streamObject result

v3.1.23

Compare Source

Patch Changes
  • c03cafe: chore (core, ui): rename maxAutomaticRoundtrips to maxToolRoundtrips

v3.1.22

Compare Source

Patch Changes
  • 14bb869: chore (ui): move maxAutomaticRoundtrips and addToolResult out of experimental

v3.1.21

Compare Source

Patch Changes
  • 213f241: fix (core,streams): support ResponseInit variants
  • 09698bc: chore (streams): deprecate streaming helpers that have a provider replacement

v3.1.20

Compare Source

Patch Changes
  • 0e1da47: feat (core): add maxAutomaticRoundtrips setting to generateText

v3.1.19

Compare Source

Patch Changes
  • 9882d24: fix (ui/svelte): send data to server
  • 131bbd3: fix (ui): remove console.log statements

v3.1.18

Compare Source

Patch Changes
  • f9dee8a: fix(ai/rsc): Fix types for createStreamableValue and createStreamableUI
  • 1c0ebf8: feat (core): add responseMessages to generateText result

v3.1.17

Compare Source

Patch Changes
  • 92b993b: ai/rsc: improve getAIState and getMutableAIState types
  • 7de628e: chore (ui): deprecate old function/tool call handling
  • 7de628e: feat (ui): add onToolCall handler to useChat

v3.1.16

Compare Source

Patch Changes

v3.1.15

Compare Source

Patch Changes

v3.1.14

Compare Source

Patch Changes
  • 6109c6a: feat (ai/react): add experimental_maxAutomaticRoundtrips to useChat

v3.1.13

Compare Source

Patch Changes

v3.1.12

Compare Source

Patch Changes
  • ae05fb7: feat (ai/streams): add StreamData support to streamToResponse

v3.1.11

Compare Source

Patch Changes
  • a085d42: fix (ai/ui): decouple StreamData chunks from LLM stream

v3.1.10

Compare Source

Patch Changes
  • 3a21030: feat (ai/core): add embedMany function

v3.1.9

Compare Source

Patch Changes
  • 18a9655: feat (ai/svelte): add useAssistant

v3.1.8

Compare Source

Patch Changes

v3.1.7

Compare Source

Patch Changes
  • f617b97: feat (ai): support client/server tool calls with useChat and streamText

v3.1.6

Compare Source

Patch Changes

v3.1.5

Compare Source

Patch Changes
  • 5b01c13: feat (ai/core): add system message support in messages list

v3.1.4

Compare 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.3

Compare Source

Patch Changes

v3.1.2

Compare Source

Patch Changes
  • d1b1880: fix (ai/core): allow reading streams in streamText result multiple times

v3.1.1

Compare Source

Patch Changes
  • 0f77132: ai/rsc: remove experimental_ from streamUI

v3.1.0

Compare Source

Minor Changes
  • 73356a9: Move AI Core functions out of experimental (streamText, generateText, streamObject, generateObject).

v3.0.35

Compare Source

Patch Changes

v3.0.34

Compare Source

Patch Changes
  • b9a831e: ai/rsc: add experimental_streamUI()

v3.0.33

Compare Source

Patch Changes

v3.0.32

Compare Source

Patch Changes
  • 0e0d2af: ai/core: add pipeTextStreamToResponse helper to streamText.

v3.0.31

Compare Source

Patch Changes
  • 74c63b1: ai/core: add toAIStreamResponse() helper to streamText.

v3.0.30

Compare Source

Patch Changes
  • e7e5898: use-assistant: fix missing message content

v3.0.29

Compare Source

Patch Changes
  • 22a737e: Fix: mark useAssistant as in progress for append/submitMessage.

v3.0.28

Compare Source

Patch Changes

v3.0.27

Compare Source

Patch Changes

v3.0.26

Compare Source

Patch Changes
  • f90f6a1: ai/core: add pipeAIStreamToResponse() to streamText result.

v3.0.25

Compare Source

Patch Changes
  • 1e84d6d: Fix: remove mistral lib type dependency.
  • 9c2a049: Add append() helper to useAssistant.

v3.0.24

Compare Source

Patch Changes
  • e94fb32: feat(ai/rsc): Make onSetAIState and onGetUIState stable

v3.0.23

Compare Source

Patch Changes

v3.0.22

Compare 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.21

Compare Source

Patch Changes

v3.0.20

Compare Source

Patch Changes
  • f42bbb5: Remove experimental from useAssistant and AssistantResponse.
  • 149fe26: Deprecate
  • 2eb4b55: Remove experimental_ prefix from StreamData.
  • e45fa96: Add stream support for Bedrock/Cohere.
  • a6b2500: Deprecated the experimental_streamData: true setting from AIStreamCallbacksAndOptions. You can delete occurrences in your code. The stream data protocol is now used by default.

v3.0.19

Compare Source

Patch Changes
  • 4f4c7f5: ai/core: Anthropic tool call support

v3.0.18

Compare 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.17

Compare Source

Patch Changes
  • 2b991c4: Add Google Generative AI provider for ai/core functions.

v3.0.16

Compare Source

Patch Changes
  • a54ea77: feat(ai/rsc): add useStreamableValue

v3.0.15

Compare Source

Patch Changes
  • 4aed2a5: Add JSDoc comments for ai/core functions.
  • cf8d12f: Export experimental language model specification under ai/spec.

v3.0.14

Compare Source

Patch Changes
  • 8088de8: fix(ai/rsc): improve typings for StreamableValue
  • 20007b9: feat(ai/rsc): support string diff and patch in streamable value
  • 6039460: 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.13

Compare Source

Patch Changes
  • 026d061: Expose setMessages in useAssistant hook
  • 42209be: AssistantResponse: specify forwardStream return type.

v3.0.12

Compare Source

Patch Changes
  • b99b008: fix(ai/rsc): avoid appending boundary if the same reference was passed

v3.0.11

Compare Source

Patch Changes
  • ce009e2: Added OpenAI assistants streaming.
  • 3f9bf3e: Updates types to OpenAI SDK 4.29.0

v3.0.10

Compare Source

Patch Changes
  • 33d261a: fix(ai/rsc): Fix .append() behavior

v3.0.9

Compare Source

Patch Changes
  • 81ca3d6: fix(ai/rsc): improve .done() argument type

v3.0.8

Compare Source

Patch Changes
  • a94aab2: ai/rsc: optimize streamable value stream size

v3.0.7

Compare Source

Patch Changes
  • 9a9ae73: feat(ai/rsc): readStreamableValue

v3.0.6

Compare Source

Patch Changes
  • 1355ad0: Fix: experimental_onToolCall is called with parsed tool args
  • 9348f06: ai/rsc: improve dev error and warnings by trying to detect hanging streams
  • 8be9404: fix type resolution

v3.0.5

Compare Source

Patch Changes

v3.0.4

Compare Source

Patch Changes
  • 7962862: fix useActions type inference
  • aab5324: Revert "fix(render): parse the args based on the zod schema"
  • fe55612: Bump OpenAI dependency to 4.28.4; fix type error in render

v3.0.3

Compare Source

Patch Changes
  • 4d816ca: fix(render): parse the args based on the zod schema
  • d158a47: fix potential race conditions

v3.0.2

Compare Source

Patch Changes
  • 73bd06e: fix(useActions): return typed object

v3.0.1

Compare Source

Patch Changes
  • ac20a25: ai/rsc: fix text response and async generator
  • b88778f: Added onText callback for text tokens.

v3.0.0

Compare Source

Major Changes
  • 51054a9: Add ai/rsc with support for AI Server Components

Configuration

📅 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.


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

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

Copy link

vercel bot commented Jun 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lobe-vidol 🛑 Canceled (Inspect) Jul 7, 2024 3:41am

@lobehubbot
Copy link
Member

👍 @renovate[bot]


Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@renovate renovate bot force-pushed the renovate/ai-3.x branch from 37425ae to 29a35c3 Compare July 7, 2024 03:31
@renovate renovate bot changed the title chore(deps): update dependency ai to v3 Update dependency ai to v3 Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant