mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Fix passing images to anthropic chat models to extract questions
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user