Spaces:
Runtime error
Runtime error
chnages
Browse files- app/graph.py +1 -1
- app/main.py +2 -1
app/graph.py
CHANGED
|
@@ -141,7 +141,7 @@ toolkit = GmailToolkit()
|
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
-
graph=builder.compile(checkpointer=checkpointer, store=memory_store)
|
| 145 |
|
| 146 |
|
| 147 |
|
|
|
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
+
graph=builder.compile(checkpointer=checkpointer, store=memory_store,debug=True)
|
| 145 |
|
| 146 |
|
| 147 |
|
app/main.py
CHANGED
|
@@ -3,9 +3,10 @@ from psycopg import OperationalError
|
|
| 3 |
from app.graph import graph
|
| 4 |
from app.state.state import EmailAgentState
|
| 5 |
from app.database.connection import pool
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
-
config = {"configurable": {"thread_id": "
|
| 9 |
|
| 10 |
input_data: EmailAgentState = {
|
| 11 |
"user_email_id": "gaykaratharva7@gmail.com",
|
|
|
|
| 3 |
from app.graph import graph
|
| 4 |
from app.state.state import EmailAgentState
|
| 5 |
from app.database.connection import pool
|
| 6 |
+
import uuid
|
| 7 |
|
| 8 |
|
| 9 |
+
config = {"configurable": {"thread_id": str(uuid.uuid4()), "user_id": "1"}}
|
| 10 |
|
| 11 |
input_data: EmailAgentState = {
|
| 12 |
"user_email_id": "gaykaratharva7@gmail.com",
|