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 v4 #243

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

Update dependency ai to v4 #243

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 18, 2024

This PR contains the following updates:

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

Release Notes

vercel/ai (ai)

v4.0.13

Compare Source

Patch Changes
  • 9f32213: feat (ai/core): add experimental tool call repair

v4.0.12

Compare Source

Patch Changes

v4.0.11

Compare Source

Patch Changes

v4.0.10

Compare Source

Patch Changes
  • 913872d: fix (ai/core): track promise from async createDataStream.execute

v4.0.9

Compare Source

Patch Changes
  • fda9695: feat (ai/core): reworked data stream management

v4.0.8

Compare Source

Patch Changes
  • a803d76: feat (ai/core): pass toolCallId option into tool execute function

v4.0.7

Compare Source

Patch Changes
  • 5b4f07b: fix (ai/core): change default error message for data streams to "An error occurred."

v4.0.6

Compare Source

Patch Changes
  • fc18132: feat (ai/core): experimental output for generateText
  • 2779f6d: fix (ai/core): do not send maxRetries into providers

v4.0.5

Compare Source

Patch Changes

v4.0.4

Compare Source

Patch Changes
  • 6ff6689: fix (ai): trigger onFinal when stream adapter finishes
  • 6ff6689: chore (ai): deprecate onCompletion (stream callbacks)

v4.0.3

Compare Source

Patch Changes

v4.0.2

Compare Source

Patch Changes

v4.0.1

Compare Source

Patch Changes
  • b117255: feat (ai/core): add messages to tool call options

v4.0.0

Compare Source

Major Changes
  • 4e38b38: chore (ai): remove LanguageModelResponseMetadataWithHeaders type
  • 8bf5756: chore: remove legacy function/tool calling
  • f0cb69d: chore (ai/core): remove experimental function exports
  • da8c609: chore (ai): remove Tokens RSC helper
  • cbab571: chore (ai): remove ExperimentalXXXMessage types
  • b469a7e: chore: remove isXXXError methods
  • 54cb888: chore (ai): remove experimental_StreamData export
  • 4d61295: chore (ai): remove streamToResponse and streamingTextResponse
  • 9a3d741: chore (ai): remove ExperimentalTool export
  • 064257d: chore (ai/core): rename simulateReadableStream values parameter to chunks
  • 60e69ed: chore (ai/core): remove ai-stream related methods from streamText
  • a4f8ce9: chore (ai): AssistantResponse cleanups
  • d3ae4f6: chore (ui/react): remove useObject setInput helper
  • 7264b0a: chore (ai): remove responseMessages property from streamText/generateText result
  • b801982: chore (ai/core): remove init option from streamText result methods
  • f68d7b1: chore (ai/core): streamObject returns result immediately (no Promise)
  • 6090cea: chore (ai): remove rawResponse from generate/stream result objects
  • 073f282: chore (ai): remove AIStream and related exports
  • 1c58337: chore (ai): remove 2.x prompt helpers
  • a40a93d: chore (ai/ui): remove vue, svelte, solid re-export and dependency
  • a7ad35a: chore: remove legacy providers & rsc render
  • c0ddc24: chore (ai): remove toJSON method from AI SDK errors
  • 007cb81: chore (ai): change streamText warnings result to Promise
  • effbce3: chore (ai): remove responseMessage from streamText onFinish callback
  • 545d133: chore (ai): remove deprecated roundtrip settings from streamText / generateText
  • 7e89ccb: chore: remove nanoid export
  • f967199: chore (ai/core): streamText returns result immediately (no Promise)
  • 62d08fd: chore (ai): remove TokenUsage, CompletionTokenUsage, and EmbeddingTokenUsage types
  • e5d2ce8: chore (ai): remove deprecated provider registry exports
  • 70ce742: chore (ai): remove experimental_continuationSteps option
  • 2f09717: chore (ai): remove deprecated telemetry data
  • 0827bf9: chore (ai): remove LangChain adapter toAIStream method
Patch Changes

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 is behind base branch, 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.

@renovate renovate bot requested a review from a team November 18, 2024 19:48
Copy link

vercel bot commented Nov 18, 2024

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

Name Status Preview Comments Updated (UTC)
autoblocks-examples ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 8, 2024 9:31pm

Copy link

coderabbitai bot commented Nov 18, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

github-actions bot commented Nov 18, 2024

🏗️ Autoblocks Testing / js-autoblocks-tests (#1127)  •  ➡️ View in Autoblocks


🟢  flashcard-generator

Overall
Pass Rate 0.00% (+0.00%)
Passed 0 (+0.00)
Failed 0 (+0.00)
Evaluator ID Min Score Avg Score Max Score Passed Failed Skipped
is-professional-tone 0.50 (-0.25) 0.56 (-0.31) 0.67 (-0.33) 3 (+0) 0 (+0) 0 (+0)
is-supported-by-notes 0.90 (-0.10) 0.97 (-0.03) 1.00 (+0.00) 3 (+0) 0 (+0) 0 (+0)
Test Case Duration
Min 2,617.95ms (+921.16)
Avg 2,737.66ms (+164.71)
Max 2,853.43ms (-651.3)

 
 
🔴  study-guide-outline

Overall
Pass Rate 60.00% (-20.00%)
Passed 3 (-1.00)
Failed 2 (+1.00)
Evaluator ID Min Score Avg Score Max Score Passed Failed Skipped
formatting 1.00 (+0.00) 1.00 (+0.00) 1.00 (+0.00) 5 (+0) 0 (+0) 0 (+0)
has-substrings 0.00 (+0.00) 0.60 (-0.20) 1.00 (+0.00) 3 (-1) 2 (+1) 0 (+0)
num-categories 1.00 (+0.00) 1.00 (+0.00) 1.00 (+0.00) 5 (+0) 0 (+0) 0 (+0)
Test Case Duration
Min 1,342.21ms (-275.16)
Avg 1,991.41ms (-10.71)
Max 2,877.66ms (+332.31)

 
 

Generated by Autoblocks against 84ea5b4

Copy link

github-actions bot commented Nov 18, 2024

🏗️ Autoblocks Testing / py-autoblocks-tests (#1127)  •  ➡️ View in Autoblocks


🔴  health-copilot-e2e

Overall
Pass Rate 80.00% (-20.00%)
Passed 4 (-1.00)
Failed 1 (+1.00)
Evaluator ID Min Score Avg Score Max Score Passed Failed Skipped
correctness 0.30 (-0.50) 0.79 (-0.13) 0.95 (-0.05) 4 (-1) 1 (+1) 0 (+0)
Test Case Duration
Min 11,012.13ms (-3,388.41)
Avg 15,340.46ms (+134.42)
Max 27,108.35ms (+11,122.93)

 
 
🟢  health-copilot-generation

Overall
Pass Rate 100.00% (+0.00%)
Passed 5 (+0.00)
Failed 0 (+0.00)
Evaluator ID Min Score Avg Score Max Score Passed Failed Skipped
comprehensiveness 0.90 (+0.00) 0.94 (-0.01) 0.95 (-0.03) 5 (+0) 0 (+0) 0 (+0)
faithfulness 0.90 (+0.00) 0.94 (-0.01) 0.95 (-0.05) 5 (+0) 0 (+0) 0 (+0)
Test Case Duration
Min 2,875.21ms (-684.14)
Avg 4,168.91ms (-88.29)
Max 5,986.38ms (+820.14)

 
 
🔴  health-copilot-retrieval

Overall
Pass Rate 60.00% (-20.00%)
Passed 3 (-1.00)
Failed 2 (+1.00)
Evaluator ID Min Score Avg Score Max Score Passed Failed Skipped
relevancy 0.70 (+0.00) 0.79 (-0.05) 0.90 (-0.05) 3 (-1) 2 (+1) 0 (+0)
Test Case Duration
Min 900.8ms (+67.89)
Avg 907.2ms (-61.65)
Max 920.7ms (-349.42)

 
 

Generated by Autoblocks against 84ea5b4

@renovate renovate bot force-pushed the renovate/ai-4.x branch from 721ef07 to 84ea5b4 Compare November 25, 2024 23:12
@renovate renovate bot changed the title Update dependency ai to v4 Update dependency ai to v4 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/ai-4.x branch December 8, 2024 18:16
@renovate renovate bot changed the title Update dependency ai to v4 - autoclosed Update dependency ai to v4 Dec 8, 2024
@renovate renovate bot reopened this Dec 8, 2024
@renovate renovate bot force-pushed the renovate/ai-4.x branch from 8ee83d2 to 84ea5b4 Compare December 8, 2024 21:31
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