Update app.py
Browse files
app.py
CHANGED
|
@@ -69,6 +69,7 @@ class BasicAgent:
|
|
| 69 |
|
| 70 |
messages = [HumanMessage(content=question)]
|
| 71 |
response = self.agent.invoke({"messages": messages})
|
|
|
|
| 72 |
|
| 73 |
# Access final answer correctly
|
| 74 |
if isinstance(response, dict) and "messages" in response:
|
|
|
|
| 69 |
|
| 70 |
messages = [HumanMessage(content=question)]
|
| 71 |
response = self.agent.invoke({"messages": messages})
|
| 72 |
+
print('response:', response)
|
| 73 |
|
| 74 |
# Access final answer correctly
|
| 75 |
if isinstance(response, dict) and "messages" in response:
|