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 (main) #204825

Closed

Conversation

elastic-renovate-prod[bot]
Copy link
Contributor

@elastic-renovate-prod elastic-renovate-prod bot commented Dec 18, 2024

This PR contains the following updates:

Package Type Update Change Pending
ai (source) dependencies major ^2.2.33 -> ^4.0.16 4.0.20 (+3)

Release Notes

vercel/ai (ai)

v4.0.16

Compare Source

Patch Changes
  • e3fac3f: fix (ai/core): change smoothStream default delay to 10ms

v4.0.15

Compare Source

Patch Changes
  • cc16a83: feat (ai/core): add smoothStream helper
  • cc16a83: feat (ai/core): add experimental transform option to streamText

v4.0.14

Compare Source

Patch Changes

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

v3.4.33

Compare Source

Patch Changes
  • ac380e3: fix (provider/anthropic): continuation mode with 3+ steps

v3.4.32

Compare Source

Patch Changes
  • 6bb9e51: fix (ai/core): expose response.messages in streamText

v3.4.31

Compare Source

Patch Changes

v3.4.30

Compare Source

Patch Changes

v3.4.29

Compare Source

Patch Changes
  • 54b56f7: feat (ai/core): send tool and tool choice telemetry data

v3.4.28

Compare Source

Patch Changes
  • 29f1390: feat (ai/test): add simulateReadableStream helper

v3.4.27

Compare Source

Patch Changes
  • fa772ae: feat (ai/core): automatically convert ui messages to core messages

v3.4.26

Compare Source

Patch Changes
  • 57f39ea: feat (ai/core): support multi-modal tool results in convertToCoreMessages

v3.4.25

Compare Source

Patch Changes
  • 6e0fa1c: fix (ai/core): wait for tool results to arrive before sending finish event

v3.4.24

Compare Source

Patch Changes

v3.4.23

Compare Source

Patch Changes

v3.4.22

Compare Source

Patch Changes

v3.4.21

Compare Source

Patch Changes
  • 3954471: (experimental) fix passing "experimental_toToolResultContent" into PoolResultPart

v3.4.20

Compare Source

Patch Changes

v3.4.18

Compare Source

Patch Changes
  • 95c67b4: fix (ai/core): handle tool calls without results in message conversion

v3.4.17

Compare Source

Patch Changes
  • e4ff512: fix (core): prevent unnecessary input/output serialization when telemetry is not enabled

v3.4.16

Compare Source

Patch Changes
  • 01dcc44: feat (ai/core): add experimental activeTools option to generateText and streamText

v3.4.15

Compare Source

Patch Changes

v3.4.14

Compare Source

Patch Changes
  • e930f40: feat (ai/core): expose core tool result and tool call types

v3.4.13

Compare Source

Patch Changes
  • fc39158: fix (ai/core): add abortSignal to tool helper function

v3.4.12

Compare Source

Patch Changes
  • a23da5b: feat (ai/core): forward abort signal to tools

v3.4.11

Compare Source

Patch Changes

v3.4.10

Compare Source

Patch Changes
  • 0b557d7: feat (ai/core): add tracer option to telemetry settings
  • 44f6bc5: feat (ai/core): expose StepResult type

v3.4.9

Compare Source

Patch Changes
  • d347538: fix (ai/core): export FilePart interface

v3.4.8

Compare Source

Patch Changes

v3.4.7

Compare Source

Patch Changes
  • db04700: feat (core): support converting attachments to file parts
  • 988707c: feat (ai/core): automatically download files from urls

v3.4.6

Compare Source

Patch Changes

v3.4.5

Compare Source

Patch Changes

v3.4.4

Compare Source

Patch Changes
  • 4db074b: fix (ai/core): correct whitespace in generateText continueSteps
  • 1297e1b: fix (ai/core): correct whitespace in streamText continueSteps

v3.4.3

Compare Source

Patch Changes
  • b270ae3: feat (ai/core): streamText continueSteps (experimental)
  • b270ae3: chore (ai/core): rename generateText continuationSteps to continueSteps

v3.4.2

Compare Source

Patch Changes
  • e6c7e98: feat (ai/core): add continuationSteps to generateText

v3.4.1

Compare Source

Patch Changes

v3.4.0

Compare Source

Minor Changes

v3.3.44

Compare Source

Patch Changes

v3.3.43

Compare Source

Patch Changes
  • fea6bec: fix (ai/core): support tool calls without arguments

v3.3.42

Compare Source

Patch Changes
  • de37aee: feat (ai): Add support for LlamaIndex

v3.3.41

Compare Source

Patch Changes

v3.3.40

Compare Source

Patch Changes
  • a91c308: feat (ai/core): add responseMessages to streamText

v3.3.39

Compare Source

Patch Changes
  • 33cf3e1: feat (ai/core): add providerMetadata to StepResult
  • 17ee757: feat (ai/core): add onStepFinish callback to generateText

v3.3.38

Compare Source

Patch Changes
  • 83da52c: feat (ai/core): add onStepFinish callback to streamText

v3.3.37

Compare Source

Patch Changes

v3.3.36

Compare Source

Patch Changes

v3.3.35

Compare Source

Patch Changes

v3.3.34

Compare Source

Patch Changes
  • a0403d6: feat (react): support sending attachments using append
  • 678449a: feat (ai/core): export test helpers
  • ff22fac: fix (ai/rsc): streamUI onFinish is called when tool calls have finished
  • Updated dependencies [a0403d6]

v3.3.33

Compare Source

Patch Changes
  • cbddc83: fix (ai/core): filter out empty text parts

v3.3.32

Compare Source

Patch Changes
  • ce7a4af: feat (ai/core): support providerMetadata in functions

v3.3.31

Compare Source

Patch Changes
  • 561fd7e: feat (ai/core): add output: enum to generateObject

v3.3.30

Compare Source

Patch Changes
  • 6ee1f8e: feat (ai/core): add toDataStream to streamText result

v3.3.29

Compare Source

Patch Changes
  • 1e3dfd2: feat (ai/core): enhance pipeToData/TextStreamResponse methods

v3.3.28

Compare Source

Patch Changes
  • db61c53: feat (ai/core): middleware support

v3.3.27

Compare Source

Patch Changes

v3.3.26

Compare Source

Patch Changes

v3.3.25

Compare Source

Patch Changes
  • 4f1530f: feat (ai/core): add OpenTelemetry Semantic Conventions for GenAI operations to v1.27.0 of standard
  • dad775f: feat (ai/core): add finish event and avg output tokens per second (telemetry)

v3.3.24

Compare Source

Patch Changes
  • d87a655: fix (ai/core): provide fallback when globalThis.performance is not available

v3.3.23

Compare Source

Patch Changes
  • b55e6f7: fix (ai/core): streamObject text stream in array mode must not include elements: prefix.

v3.3.22

Compare Source

Patch Changes
  • a5a56fd: fix (ai/core): only send roundtrip-finish event after async tool calls are done

v3.3.21

Compare Source

Patch Changes

v3.3.20

Compare Source

Patch Changes
  • 7807677: fix (rsc): Deep clone currentState in getMutableState()

v3.3.19

Compare Source

Patch Changes
  • 7235de0: fix (ai/core): convertToCoreMessages accepts Message[]

v3.3.18

Compare Source

Patch Changes

v3.3.17

Compare Source

Patch Changes

v3.3.16

Compare Source

Patch Changes

v3.3.15

Compare Source

Patch Changes

v3.3.14

Compare Source

Patch Changes

v3.3.13

Compare Source

Patch Changes
  • 412f943: fix (ai/core): make Buffer validation optional for environments without buffer

v3.3.12

Compare Source

Patch Changes

v3.3.11

Compare Source

Patch Changes

v3.3.10

Compare Source

Patch Changes

v3.3.9

Compare Source

Patch Changes

v3.3.8

Compare Source

Patch Changes

v3.3.7

Compare Source

Patch Changes

v3.3.6

Compare Source

Patch Changes

v3.3.5

Compare Source

Patch Changes

v3.3.4

Compare Source

Patch Changes

v3.3.3

Compare Source

Patch Changes

v3.3.2

Compare Source

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 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 Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod bot added backport:all-open Backport to all branches that could still receive a release release_note:skip Skip the PR/issue when compiling release notes Team:Enterprise Search Team:Search labels Dec 18, 2024
@elastic-renovate-prod elastic-renovate-prod bot requested a review from a team December 18, 2024 18:53
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/main-search-ui-ai-dependency branch from 1955b58 to c173db8 Compare December 19, 2024 17:47
@joemcelroy
Copy link
Member

closing - have opened a PR upgrading this to v4 + accommodate to breaking changes #204659

@joemcelroy joemcelroy closed this Dec 19, 2024
@elastic-renovate-prod
Copy link
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@elastic-renovate-prod elastic-renovate-prod bot deleted the renovate/main-search-ui-ai-dependency branch December 19, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:all-open Backport to all branches that could still receive a release release_note:skip Skip the PR/issue when compiling release notes Team:Enterprise Search Team:Search
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant