Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -462,7 +462,7 @@ class EsiAgent:
|
|
| 462 |
level: GAIA difficulty (1,2,3)
|
| 463 |
"""
|
| 464 |
# 1) Build the raw_payload
|
| 465 |
-
print(11111111111, question)
|
| 466 |
payload = {
|
| 467 |
"task_id": None,
|
| 468 |
"question": question,
|
|
@@ -485,7 +485,7 @@ class EsiAgent:
|
|
| 485 |
state = GaiaAgentState(raw_payload=payload)
|
| 486 |
# state = GaiaAgentState(dict)
|
| 487 |
|
| 488 |
-
print(6666666666666, state)
|
| 489 |
# 3) Invoke the graph end-to-end
|
| 490 |
final_state = self.graph.invoke(state)
|
| 491 |
|
|
|
|
| 462 |
level: GAIA difficulty (1,2,3)
|
| 463 |
"""
|
| 464 |
# 1) Build the raw_payload
|
| 465 |
+
# print(11111111111, question)
|
| 466 |
payload = {
|
| 467 |
"task_id": None,
|
| 468 |
"question": question,
|
|
|
|
| 485 |
state = GaiaAgentState(raw_payload=payload)
|
| 486 |
# state = GaiaAgentState(dict)
|
| 487 |
|
| 488 |
+
# print(6666666666666, state)
|
| 489 |
# 3) Invoke the graph end-to-end
|
| 490 |
final_state = self.graph.invoke(state)
|
| 491 |
|