Skip to content

Commit

Permalink
Merge pull request #1109 from Agenta-AI/oss/bug/fixes
Browse files Browse the repository at this point in the history
fix app lifespan
  • Loading branch information
aakrem authored Dec 26, 2023
2 parents 1584a7a + 0672651 commit 20d4a9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions agenta-backend/agenta_backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ async def lifespan(application: FastAPI, cache=True):
yield


# app = FastAPI(lifespan=lifespan)
app = FastAPI()
app = FastAPI(lifespan=lifespan)

allow_headers = ["Content-Type"]

Expand Down

0 comments on commit 20d4a9e

Please sign in to comment.