ea4all-gradio-agents-mcp-hackathon-tools-apm-upload
Browse files- ea4all/ea4all_mcp.py +1 -1
ea4all/ea4all_mcp.py
CHANGED
@@ -79,7 +79,7 @@ async def run_qna_agentic_system(question: str) -> AsyncGenerator[list, None]:
|
|
79 |
format_response = "Hi, how are you today? To start using the EA4ALL MCP Tool, provide the required Inputs!"
|
80 |
chat_memory.append(ChatMessage(role="assistant", content=format_response))
|
81 |
else:
|
82 |
-
index = call_indexer_apm(config) #call indexer to update the index
|
83 |
response = await apm_graph.ainvoke({"question": question}, config=config)
|
84 |
chat_memory.append(ChatMessage(role="assistant", content=response['generation']))
|
85 |
|
|
|
79 |
format_response = "Hi, how are you today? To start using the EA4ALL MCP Tool, provide the required Inputs!"
|
80 |
chat_memory.append(ChatMessage(role="assistant", content=format_response))
|
81 |
else:
|
82 |
+
index = await call_indexer_apm(config) #call indexer to update the index
|
83 |
response = await apm_graph.ainvoke({"question": question}, config=config)
|
84 |
chat_memory.append(ChatMessage(role="assistant", content=response['generation']))
|
85 |
|