From e3fd51d14b46c606c42d7816461319e8fb5d725e Mon Sep 17 00:00:00 2001 From: Debanjum Date: Mon, 18 Nov 2024 10:16:50 -0800 Subject: [PATCH] Pass user arg to create title from query in new automation flow --- src/khoj/routers/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/routers/api.py b/src/khoj/routers/api.py index fc7dfe27..4516745a 100644 --- a/src/khoj/routers/api.py +++ b/src/khoj/routers/api.py @@ -613,7 +613,7 @@ async def post_automation( ) if not subject: - subject = await acreate_title_from_query(q) + subject = await acreate_title_from_query(q, user) title = f"Automation: {subject}"