Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,9 @@ class BasicAgent:
|
|
| 50 |
self.agent_executor = AgentExecutor(agent = agent, tools = tools)
|
| 51 |
def __call__(self, question: str) -> str:
|
| 52 |
response = self.agent_executor.invoke(
|
|
|
|
| 53 |
"input": question
|
|
|
|
| 54 |
)
|
| 55 |
return response
|
| 56 |
|
|
|
|
| 50 |
self.agent_executor = AgentExecutor(agent = agent, tools = tools)
|
| 51 |
def __call__(self, question: str) -> str:
|
| 52 |
response = self.agent_executor.invoke(
|
| 53 |
+
{
|
| 54 |
"input": question
|
| 55 |
+
}
|
| 56 |
)
|
| 57 |
return response
|
| 58 |
|