Skip to content

Releases: liunux4odoo/streamlit-chatbox

v1.1.12

22 Apr 06:20
Compare
Choose a tag to compare
  • 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

1.1.11-p1

28 Mar 04:55
6179c41
Compare
Choose a tag to compare

What's Changed

  • [fix] fix bugs about from_dict function by @ProseGuys in #7

New Contributors

Full Changelog: 1.1.11...1.1.11-p1

支持对话消息用户反馈

02 Nov 09:59
Compare
Choose a tag to compare
1.1.11

support streamlit-feedback

修复历史消息bug

19 Oct 13:44
Compare
Choose a tag to compare

update filter_history:

  • history_len=0 时会返回1条不完整的历史消息
  • 当对话轮数 达到history_len时,返回的历史消息为空

1.1.9

19 Sep 02:39
Compare
Choose a tag to compare

fix bug in filter_messages

1.1.8

19 Sep 01:35
Compare
Choose a tag to compare
  • use st.status instead of st.expander
  • support langchain Agent output