Spaces:
Build error
Build error
Commit
·
44c9f2d
1
Parent(s):
2985c1b
check
Browse files
app.py
CHANGED
|
@@ -68,7 +68,7 @@ def respond(
|
|
| 68 |
agent_response = graph.invoke(inputs) # Process the inputs through your agent
|
| 69 |
|
| 70 |
# Return the final message from the agent
|
| 71 |
-
return agent_response['messages'][-1][1]
|
| 72 |
|
| 73 |
|
| 74 |
"""
|
|
|
|
| 68 |
agent_response = graph.invoke(inputs) # Process the inputs through your agent
|
| 69 |
|
| 70 |
# Return the final message from the agent
|
| 71 |
+
return agent_response['messages'][-1][1]
|
| 72 |
|
| 73 |
|
| 74 |
"""
|