chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Call @cl.set_starters() on profile change

Open tambagh opened this issue 1 year ago • 1 comments
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

tambagh avatar Oct 03 '24 00:10 tambagh