Version 4.2.0#
Key Improvements#
Session Persistence & Monitoring Integration#
Added a
persist_sessionsoption so agents can resume conversations after restarts.Automatically verifies monitoring database connectivity and disables persistence when unavailable.
User session variables are now stored in the monitoring database for consistent access across restarts.
WebSocket payload now expects a
user_idfield to identify users and maintain session continuity.
Streamlit Persistent Users#
Added an optional login flow that keeps Streamlit users and their chat history across visits.
Event Handling & State Transitions#
Improved state transitions by predicting intents for
ReceiveJSONEventmessages and applying consistent fallback logic for text and JSON events.
Python 3.12 Support#
Updated dependencies and requirements to run the framework on Python 3.12.
Additional Features#
WebSocket call has been added to fetch history for a given user.
WebSocket call has been added to set a variable for a given user.