@erdoai/ui 0.1.37 → 0.1.38
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/README.md +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.js +8 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -237,7 +237,7 @@ const {
|
|
|
237
237
|
} = useThread({
|
|
238
238
|
botKey: 'data-analyst', // Optional: specify which bot to use
|
|
239
239
|
onEvent: (event) => console.log('Event:', event),
|
|
240
|
-
onFinish: () => console.log('Message complete'),
|
|
240
|
+
onFinish: (contents) => console.log('Message complete with', contents.length, 'items'),
|
|
241
241
|
onError: (error) => console.error('Error:', error),
|
|
242
242
|
});
|
|
243
243
|
|