AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(backend): enforce paywall on create chat session (#13320)
Swiftyb26b69c67763
diff --git a/autogpt_platform/backend/backend/api/features/chat/routes.py b/autogpt_platform/backend/backend/api/features/chat/routes.pyindex 7ce2df7abe..d28664a6a0 100644--- a/autogpt_platform/backend/backend/api/features/chat/routes.py+++ b/autogpt_platform/backend/backend/api/features/chat/routes.py@@ -427,6 +427,7 @@ async def list_sessions(@router.post("/sessions",+ dependencies=[Depends(enforce_payment_paywall)],)async def create_session(user_id: Annotated[str, Security(auth.get_user_id)],