-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add onError
handler to useAssistant hook
#818
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks great!
Build failure seems to be related to changes in PR. |
Sorry for the slow response. I created a proper |
fixed the prettier format error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mfts! Can you update the OptionTable
in docs/pages/docs/api-reference/use-assistant.mdx
?
Added documentation |
similar to
useChat
exposing anonError
handler on the useAssistant hook.