Update src/chat_display.py
Browse files- src/chat_display.py +2 -2
src/chat_display.py
CHANGED
@@ -112,8 +112,8 @@ def display_chat_history():
|
|
112 |
"""
|
113 |
user_avatar, assistant_avatar = get_avatars()
|
114 |
|
115 |
-
# Get
|
116 |
-
history =
|
117 |
|
118 |
# Display all messages instead of limiting to a fixed number
|
119 |
display_history = history
|
|
|
112 |
"""
|
113 |
user_avatar, assistant_avatar = get_avatars()
|
114 |
|
115 |
+
# Get history directly from session state (local cache)
|
116 |
+
history = st.session_state.get('history', [])
|
117 |
|
118 |
# Display all messages instead of limiting to a fixed number
|
119 |
display_history = history
|