Spaces:
Runtime error
Runtime error
Clear conversation state when entering debrief mode
Browse files
app.py
CHANGED
|
@@ -253,6 +253,8 @@ else:
|
|
| 253 |
col1, col2, col3 = st.columns([1, 2, 1])
|
| 254 |
with col2:
|
| 255 |
if st.button("🤔 I'm Ready to Debrief", use_container_width=True):
|
|
|
|
|
|
|
| 256 |
st.session_state.in_debrief = True
|
| 257 |
|
| 258 |
# Get the original setup parameters
|
|
|
|
| 253 |
col1, col2, col3 = st.columns([1, 2, 1])
|
| 254 |
with col2:
|
| 255 |
if st.button("🤔 I'm Ready to Debrief", use_container_width=True):
|
| 256 |
+
# Clear previous conversation state
|
| 257 |
+
st.session_state.messages = []
|
| 258 |
st.session_state.in_debrief = True
|
| 259 |
|
| 260 |
# Get the original setup parameters
|