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:
Debanjum
2025-06-24 02:42:42 -07:00
parent 170a8036fe
commit ba059ad8b0

View File

@@ -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,