How can I disable the new chat confirmation after pressing the new chat button?
I tried a few things like :
In the config.toml I set a value confirm_new_chat = false and show_new_chat_dialog = false but this hasn't done anything, these values are under [UI] .
With CSS I tried hiding the id of the button, but then a black opacity screen appears after pressing the new chat button
#new-chat-dialog {
display: none !important;
}
This screenshot shows what it looks like when the user presses the new chat button with the CSS code above inserted.
I'd appreciate if the the chainlit devs include an option to disable/enable this option entirely. I already save chat history in my app so having a confirmation to start a new chat is so unnecessary.
How can I disable the new chat confirmation after pressing the new chat button?
I tried a few things like :
In the
config.tomlI set a valueconfirm_new_chat = falseandshow_new_chat_dialog = falsebut this hasn't done anything, these values are under[UI].With CSS I tried hiding the id of the button, but then a black opacity screen appears after pressing the new chat button
This screenshot shows what it looks like when the user presses the new chat button with the CSS code above inserted.
I'd appreciate if the the chainlit devs include an option to disable/enable this option entirely. I already save chat history in my app so having a confirmation to start a new chat is so unnecessary.