From 2d9dd81e768c5e4f3f70e1291a253c6461f40bde Mon Sep 17 00:00:00 2001 From: sabaimran Date: Mon, 19 Aug 2024 05:37:18 -0500 Subject: [PATCH] Re-add authenticated decorator to api_chat.py /chat endpoint --- src/khoj/routers/api_chat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/khoj/routers/api_chat.py b/src/khoj/routers/api_chat.py index dc6853f4..e1fa4d5c 100644 --- a/src/khoj/routers/api_chat.py +++ b/src/khoj/routers/api_chat.py @@ -518,6 +518,7 @@ async def set_conversation_title( @api_chat.get("") +@requires(["authenticated"]) async def chat( request: Request, common: CommonQueryParams,