mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Deduplicate passing chat history to extract question only in prompt
Extract questions has chat history in prompt and in actual chat history. Only pass in prompt for now. Later update prompts to pass chat history in chat messages list for better truncation flexibility.
This commit is contained in:
@@ -1321,7 +1321,6 @@ async def extract_questions(
|
||||
query=prompt,
|
||||
query_images=query_images,
|
||||
query_files=query_files,
|
||||
chat_history=chat_history,
|
||||
response_type="json_object",
|
||||
response_schema=DocumentQueries,
|
||||
user=user,
|
||||
|
||||
Reference in New Issue
Block a user