- fix type hint error with streamlit >= 1.33.0 (#8)
- add ChatBox.change_chat_name to rename a chat conversation
- maintain a context bound to chat conversation, it is like to be a sub session_state for every chat, context will get changed when you switch chat names.
- user can save chat bound values by
ChatBox.context['x'] = 1
- values of widgets specified with a key can be saved to chat context with
ChatBox.context_from_session
and restored to st.session_state byChatBox.context_to_session
- user can save chat bound values by
Full Changelog: 1.1.11-p1...v1.1.12