chainlit
chainlit copied to clipboard
Call @cl.set_starters() on profile change
trafficstars
Currently set_starters() is not called when you switch profiles in the UI even if the entire UI is redrawn. This prevents us from setting profile specific starters meaning we can only put cross profile generic starters.
If @set_starters() was called on profile switches, based on the profile e.g. admin vs. user we could define role specific starters.
thanks