Thanks for sharing your question with the community! Please update your debugging post to include a code snippet and a link to your app’s public GitHub repo – this will allow the community to help you find an answer as quickly as possible. In the meantime, this post will be tagged as needs-more-info.
Tried that originally, same issue, the reason why i use st.empty is that once bot finishes with response there is no this small re-render happening at the end, it just finishes the process more smoothly.
But to answer your question is it still happens with st.container()
I’ll give this a try on my end and let you know. Just to be clear, you just want the “empty” message not to show before the it starts writing the processes in the expander right?