From 4f6d1211ba8849b9dc26be39f7f3ea44e7b1b1f1 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Thu, 28 Nov 2024 20:16:36 -0800 Subject: [PATCH] Fix additional context type in anthropic chat --- src/khoj/processor/conversation/anthropic/anthropic_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/processor/conversation/anthropic/anthropic_chat.py b/src/khoj/processor/conversation/anthropic/anthropic_chat.py index b71c7684..e83d604c 100644 --- a/src/khoj/processor/conversation/anthropic/anthropic_chat.py +++ b/src/khoj/processor/conversation/anthropic/anthropic_chat.py @@ -161,7 +161,7 @@ def converse_anthropic( generated_images: Optional[list[str]] = None, generated_files: List[FileAttachment] = None, generated_excalidraw_diagram: Optional[str] = None, - additional_context: Optional[str] = None, + additional_context: Optional[List[str]] = None, tracer: dict = {}, ): """