You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I just came up with this idea and try. User should know chat settings change was accept, and I don't want to send a message and save it into steps, because setting information has already saved in thread metadata.
It will be helpful also to share failures with the user. On my side, I have cases where azure would filter out the message that contains hate/violence speech. If I could warn the user when this happen through a toast, it would even better
under chainlit 2.0, when I changed chat settings, I want to popup a toast to let user know the settings changes accept successfully.
await context.emitter.emit("ui:toast", { "title": "Settings updated", "description": "Settings updated successfully.", "type": "success" # success, error, info, warning })
but it won't work.
thanks for anyone who response.
The text was updated successfully, but these errors were encountered: