ai 5.0.0-canary.17 → 5.0.0-canary.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # ai
2
2
 
3
+ ## 5.0.0-canary.19
4
+
5
+ ### Major Changes
6
+
7
+ - 2d03e19: chore (ai): remove StreamCallbacks.onCompletion
8
+ - 319b989: chore (ai): remove content from ui messages
9
+ - 441d042: chore (ui): data stream protocol v2 with SSEs
10
+ - dcc549b: remove StreamTextResult.mergeIntoDataStream method
11
+ rename DataStreamOptions.getErrorMessage to onError
12
+ add pipeTextStreamToResponse function
13
+ add createTextStreamResponse function
14
+ change createDataStreamResponse function to accept a DataStream and not a DataStreamWriter
15
+ change pipeDataStreamToResponse function to accept a DataStream and not a DataStreamWriter
16
+ change pipeDataStreamToResponse function to have a single parameter
17
+ - cb2b53a: chore (ai): refactor header preparation
18
+ - e244a78: chore (ai): remove StreamData and mergeStreams
19
+
20
+ ## 5.0.0-canary.18
21
+
22
+ ### Major Changes
23
+
24
+ - c60f895: chore (ai): remove useChat keepLastMessageOnError
25
+ - a662dea: chore (ai): remove sendExtraMessageFields
26
+
27
+ ### Patch Changes
28
+
29
+ - a571d6e: chore(provider-utils): move ToolResultContent to provider-utils
30
+ - 332167b: chore (ai): move maxSteps into UseChatOptions
31
+ - a8c8bd5: feat(embed-many): respect supportsParallelCalls & concurrency
32
+ - Updated dependencies [a571d6e]
33
+ - Updated dependencies [a8c8bd5]
34
+ - Updated dependencies [7979f7f]
35
+ - Updated dependencies [41fa418]
36
+ - @ai-sdk/provider-utils@3.0.0-canary.15
37
+ - @ai-sdk/provider@2.0.0-canary.14
38
+
3
39
  ## 5.0.0-canary.17
4
40
 
5
41
  ### Major Changes
package/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  # AI SDK
4
4
 
5
- The [AI SDK](https://sdk.vercel.ai/docs) is a TypeScript toolkit designed to help you build AI-powered applications using popular frameworks like Next.js, React, Svelte, Vue and runtimes like Node.js.
5
+ The [AI SDK](https://ai-sdk.dev/docs) is a TypeScript toolkit designed to help you build AI-powered applications using popular frameworks like Next.js, React, Svelte, Vue and runtimes like Node.js.
6
6
 
7
- To learn more about how to use the AI SDK, check out our [API Reference](https://sdk.vercel.ai/docs/reference) and [Documentation](https://sdk.vercel.ai/docs).
7
+ To learn more about how to use the AI SDK, check out our [API Reference](https://ai-sdk.dev/docs/reference) and [Documentation](https://ai-sdk.dev/docs).
8
8
 
9
9
  ## Installation
10
10
 
@@ -18,7 +18,7 @@ npm install ai
18
18
 
19
19
  ### AI SDK Core
20
20
 
21
- The [AI SDK Core](https://sdk.vercel.ai/docs/ai-sdk-core/overview) module provides a unified API to interact with model providers like [OpenAI](https://sdk.vercel.ai/providers/ai-sdk-providers/openai), [Anthropic](https://sdk.vercel.ai/providers/ai-sdk-providers/anthropic), [Google](https://sdk.vercel.ai/providers/ai-sdk-providers/google-generative-ai), and more.
21
+ The [AI SDK Core](https://ai-sdk.dev/docs/ai-sdk-core/overview) module provides a unified API to interact with model providers like [OpenAI](https://ai-sdk.dev/providers/ai-sdk-providers/openai), [Anthropic](https://ai-sdk.dev/providers/ai-sdk-providers/anthropic), [Google](https://ai-sdk.dev/providers/ai-sdk-providers/google-generative-ai), and more.
22
22
 
23
23
  You will then install the model provider of your choice.
24
24
 
@@ -43,7 +43,7 @@ console.log(text);
43
43
 
44
44
  ### AI SDK UI
45
45
 
46
- The [AI SDK UI](https://sdk.vercel.ai/docs/ai-sdk-ui/overview) module provides a set of hooks that help you build chatbots and generative user interfaces. These hooks are framework agnostic, so they can be used in Next.js, React, Svelte, and Vue.
46
+ The [AI SDK UI](https://ai-sdk.dev/docs/ai-sdk-ui/overview) module provides a set of hooks that help you build chatbots and generative user interfaces. These hooks are framework agnostic, so they can be used in Next.js, React, Svelte, and Vue.
47
47
 
48
48
  You need to install the package for your framework:
49
49