Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,7 @@ You are a general AI assistant. I will ask you a question. Report your thoughts,
|
|
20 |
class BasicAgent:
|
21 |
def __init__(self):
|
22 |
print("BasicAgent initialized.")
|
23 |
-
graph = build_graph()
|
24 |
-
|
25 |
|
26 |
def __call__(self, question: str, task_id: Optional[str] = None) -> str:
|
27 |
"""Run the agent and return whatever FINAL_ANSWER the graph produces."""
|
|
|
20 |
class BasicAgent:
|
21 |
def __init__(self):
|
22 |
print("BasicAgent initialized.")
|
23 |
+
self.graph = build_graph()
|
|
|
24 |
|
25 |
def __call__(self, question: str, task_id: Optional[str] = None) -> str:
|
26 |
"""Run the agent and return whatever FINAL_ANSWER the graph produces."""
|