Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ class BasicAgent:
|
|
| 37 |
# IMPORTANT: invoke() returns a **new** state instance (or an AddableValuesDict),
|
| 38 |
# not the object we pass in. Use the returned value to fetch final_answer.
|
| 39 |
out_state = self.graph.invoke(init_state)
|
| 40 |
-
print("out_state: ", out_state)
|
| 41 |
|
| 42 |
# Extract the final answer from the last message
|
| 43 |
if out_state and "messages" in out_state:
|
|
|
|
| 37 |
# IMPORTANT: invoke() returns a **new** state instance (or an AddableValuesDict),
|
| 38 |
# not the object we pass in. Use the returned value to fetch final_answer.
|
| 39 |
out_state = self.graph.invoke(init_state)
|
| 40 |
+
print("out_state: ", out_state,'\n\n\n\n')
|
| 41 |
|
| 42 |
# Extract the final answer from the last message
|
| 43 |
if out_state and "messages" in out_state:
|