diff --git a/src/khoj/processor/conversation/anthropic/anthropic_chat.py b/src/khoj/processor/conversation/anthropic/anthropic_chat.py index e2fd0c74..e878ceea 100644 --- a/src/khoj/processor/conversation/anthropic/anthropic_chat.py +++ b/src/khoj/processor/conversation/anthropic/anthropic_chat.py @@ -86,6 +86,8 @@ def extract_questions_anthropic( messages = [ChatMessage(content=prompt, role="user")] + messages, system_prompt = format_messages_for_anthropic(messages, system_prompt) + response = anthropic_completion_with_backoff( messages=messages, system_prompt=system_prompt,