@erdoai/ui 0.1.36 → 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 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