LightRT commited on
Commit
329b13d
·
verified ·
1 Parent(s): 8837617

Update src/main.py

Browse files
Files changed (1) hide show
  1. src/main.py +1 -1
src/main.py CHANGED
@@ -17,7 +17,7 @@ DB_URI = os.getenv("DATABASE_URI")
17
  async def lifespan(app: FastAPI):
18
  async with AsyncPostgresSaver.from_conn_string(DB_URI) as checkpointer:
19
  await checkpointer.setup()
20
- app.state.agent = build_agent(checkpointer)
21
  yield
22
 
23
  app = FastAPI(
 
17
  async def lifespan(app: FastAPI):
18
  async with AsyncPostgresSaver.from_conn_string(DB_URI) as checkpointer:
19
  await checkpointer.setup()
20
+ app.state.agent = build_agent(None)
21
  yield
22
 
23
  app = FastAPI(