Update app.py
Browse files
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=
|
| 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))
|