Streamlit-chatbox

Latest version: v1.1.12

Safety actively analyzes 627310 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.12

- 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**: https://github.com/liunux4odoo/streamlit-chatbox/compare/1.1.11-p1...v1.1.12

1.1.11-p1
What's Changed
* [fix] fix bugs about from_dict function by ProseGuys in https://github.com/liunux4odoo/streamlit-chatbox/pull/7

New Contributors
* ProseGuys made their first contribution in https://github.com/liunux4odoo/streamlit-chatbox/pull/7

**Full Changelog**: https://github.com/liunux4odoo/streamlit-chatbox/compare/1.1.11...1.1.11-p1

1.1.11

1.1.10

update filter_history:

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

1.1.9

fix bug in filter_messages

1.1.8

- use st.status instead of st.expander
- support langchain Agent output

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.