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 #44

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Update dependency ai to v3 #44

merged 1 commit into from
Jun 21, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 5, 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.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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies label May 5, 2024
Copy link

vercel bot commented May 5, 2024

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

Name Status Preview Comments Updated (UTC)
lobe-vidol ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 8, 2024 0:15am

@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 ad65e36 to f05eb85 Compare June 8, 2024 12:06
@rdmclin2 rdmclin2 merged commit 1b4d3a0 into main Jun 21, 2024
4 checks passed
@lobehubbot
Copy link
Member

❤️ Great PR @renovate[bot] ❤️


The growth of project is inseparable from user feedback and contribution, thanks for your contribution!
项目的成长离不开用户反馈和贡献,感谢您的贡献!

@renovate renovate bot deleted the renovate/ai-3.x branch June 21, 2024 00:01
@lobehubbot
Copy link
Member

🎉 This PR is included in version 0.13.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

2 participants