jostlebot commited on
Commit
b1de72a
·
1 Parent(s): 98816af

Clear conversation state when entering debrief mode

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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