WanIrfan commited on
Commit
003d105
·
verified ·
1 Parent(s): 96a5623

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -276,7 +276,7 @@ def medical_page():
276
 
277
  agent = rag_systems['medical']
278
  if not agent: raise Exception("Medical RAG system is not loaded.")
279
- response_dict = agent.answer(standalone_query, chat_history=history_for_doc_context)
280
  answer, thoughts, validation, source = parse_agent_response(response_dict)
281
 
282
  history_for_agent.append(HumanMessage(content=query))
 
276
 
277
  agent = rag_systems['medical']
278
  if not agent: raise Exception("Medical RAG system is not loaded.")
279
+ response_dict = agent.answer(standalone_query, chat_history=history_doc_context)
280
  answer, thoughts, validation, source = parse_agent_response(response_dict)
281
 
282
  history_for_agent.append(HumanMessage(content=query))