chainlit
chainlit copied to clipboard
Idea: Allow profiles & starters to be set in on_chat_start
trafficstars
Currently, starters are set before on_chat_start fires, meaning you are locked to a set of starters regardless of what is built within the on_chat_start wrapper.
This matters because in the age of multi-agent designs, sometimes these are dynamically built (consider role based agents/tools) that are built & stored in the user_session during on_chat_start. It would be great to be able to set the starters per built team, instead of being locked into static ones.
The same can be said for chat_profiles. The ability to set these after chat_start would be beneficial from the above multi agent perspective as well.