Mohammad Haghir commited on
Commit ·
25973ca
1
Parent(s): 22ac2a1
agent
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ class BasicAgent:
|
|
| 74 |
# json_end = response.rfind('}') + 1
|
| 75 |
# json_str = response[json_start:json_end]
|
| 76 |
# res = json.loads(json_str)
|
| 77 |
-
return response
|
| 78 |
|
| 79 |
def create_graph(self):
|
| 80 |
builder = StateGraph(GraphState)
|
|
|
|
| 74 |
# json_end = response.rfind('}') + 1
|
| 75 |
# json_str = response[json_start:json_end]
|
| 76 |
# res = json.loads(json_str)
|
| 77 |
+
return {"messages": response}
|
| 78 |
|
| 79 |
def create_graph(self):
|
| 80 |
builder = StateGraph(GraphState)
|