Skip to content

v1.1.12

Latest
Compare
Choose a tag to compare
@liunux4odoo liunux4odoo released this 22 Apr 06:20
· 6 commits to master since this release
  • 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 by ChatBox.context_to_session

Full Changelog: 1.1.11-p1...v1.1.12