Scott Cogan commited on
Commit ·
1f48484
1
Parent(s): ec67281
latest requirements
Browse files
app.py
CHANGED
|
@@ -199,7 +199,7 @@ class BasicAgent:
|
|
| 199 |
''')
|
| 200 |
|
| 201 |
# Graph
|
| 202 |
-
self.builder = StateGraph()
|
| 203 |
|
| 204 |
# Define nodes: these do the work
|
| 205 |
self.builder.add_node("start", lambda state: state)
|
|
|
|
| 199 |
''')
|
| 200 |
|
| 201 |
# Graph
|
| 202 |
+
self.builder = StateGraph(state_schema=AgentState)
|
| 203 |
|
| 204 |
# Define nodes: these do the work
|
| 205 |
self.builder.add_node("start", lambda state: state)
|