@ai-sdk/ui-utils
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -334,2 +334,9 @@ export { generateId } from '@ai-sdk/provider-utils'; | ||
/** | ||
Keeps the last message when an error happens. This will be the default behavior | ||
starting with the next major release. | ||
The flag was introduced for backwards compatibility and currently defaults to `false`. | ||
Please enable it and update your error handling/resubmit behavior. | ||
*/ | ||
keepLastMessageOnError?: boolean; | ||
/** | ||
* The API endpoint that accepts a `{ messages: Message[] }` object and returns | ||
@@ -336,0 +343,0 @@ * a stream of tokens of the AI chat response. Defaults to `/api/chat`. |
{ | ||
"name": "@ai-sdk/ui-utils", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3983376
36791