Added middleware
Compare changes
- AskMarkestad authored
+ 12
− 1
@@ -3,7 +3,8 @@ import asyncio
@@ -16,6 +17,16 @@ app = FastAPI(
Added an endpoint for invoking a response directly, circumventing the add_routes langserve method, to identify where the issue lies while deploying.
Result: Got the same error message regardless of using langserve or not, so added back in but kept the middleware.