chainlit
chainlit copied to clipboard
Settings menu updated as soon as a new setting is selected
on_settings_update() is called when the user click confirm in the ui
I'd like there to be an option to toggle on or off so that the on_settings_update is called as soon as any setting is changed in the UI. So that as soon as an item in a "Select" is clicked on_settings_update() is ran
My usecase is that I have an region selector and I want the list of LLM model in the next select to be updated as soon as the region is clicked.
I know there is a workaround using chat_profiles but I have reserved those for different RAGs