Gaykar commited on
Commit
814aa17
·
1 Parent(s): 728fdd7
Files changed (2) hide show
  1. app/graph.py +1 -1
  2. 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": "user_abc_123"}}
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",