chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Settings menu updated as soon as a new setting is selected

Open Alexanderamiri opened this issue 11 months ago • 0 comments

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

Alexanderamiri avatar Mar 20 '24 12:03 Alexanderamiri