From 3519dd76f027c337ed5136fc3d7c7dfa1a40f1f7 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Wed, 20 Nov 2024 19:01:13 -0800 Subject: [PATCH] Fix type of excalidraw image response --- src/khoj/routers/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/routers/helpers.py b/src/khoj/routers/helpers.py index 631185d2..e160b8e3 100644 --- a/src/khoj/routers/helpers.py +++ b/src/khoj/routers/helpers.py @@ -826,7 +826,7 @@ async def generate_excalidraw_diagram_from_description( user: KhojUser = None, agent: Agent = None, tracer: dict = {}, -) -> str: +) -> Dict[str, Any]: personality_context = ( prompts.personality_context.format(personality=agent.personality) if agent and agent.personality else "" )