Jeremy Live commited on
Commit
390ac6e
·
1 Parent(s): 0897890
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -521,6 +521,7 @@ async def stream_agent_response(question: str, chat_history: List[List[str]], se
521
  response_text = ""
522
  chart_fig = None
523
  messages = []
 
524
 
525
  # Add previous chat history in the correct format for the agent
526
  for msg_pair in chat_history:
 
521
  response_text = ""
522
  chart_fig = None
523
  messages = []
524
+ prev_messages = []
525
 
526
  # Add previous chat history in the correct format for the agent
527
  for msg_pair in chat_history: