@lota-sdk/ui 0.4.9 → 0.4.11
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lota-sdk/ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"registry": "https://registry.npmjs.org/"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@lota-sdk/shared": "0.4.
|
|
28
|
+
"@lota-sdk/shared": "0.4.11",
|
|
29
29
|
"ai": "^6.0.167"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
@@ -97,8 +97,9 @@ export function useThreadChat<UI_MESSAGE extends UIMessage>({
|
|
|
97
97
|
onData: (dataPart) => {
|
|
98
98
|
onDataRef.current?.(dataPart)
|
|
99
99
|
},
|
|
100
|
-
//
|
|
101
|
-
//
|
|
100
|
+
// `experimental_throttle` is the only throttle knob AI SDK exposes
|
|
101
|
+
// (still prefixed as of @ai-sdk/react 3.0.169). Re-evaluate when upstream
|
|
102
|
+
// promotes it.
|
|
102
103
|
experimental_throttle: experimentalThrottle,
|
|
103
104
|
sendAutomaticallyWhen,
|
|
104
105
|
onFinish: () => {
|