This commit is contained in:
Yuhong Sun 2024-08-16 21:43:14 -07:00
parent 22573aba2a
commit c0edfb50df
2 changed files with 0 additions and 3 deletions

View File

@ -448,8 +448,6 @@ def stream_chat_message_objects(
else default_num_chunks else default_num_chunks
), ),
max_window_percentage=max_document_percentage, max_window_percentage=max_document_percentage,
use_sections=new_msg_req.chunks_above > 0
or new_msg_req.chunks_below > 0,
) )
# Cannot determine these without the LLM step or breaking out early # Cannot determine these without the LLM step or breaking out early

View File

@ -179,7 +179,6 @@ def stream_answer_objects(
else default_num_chunks else default_num_chunks
), ),
max_tokens=max_document_tokens, max_tokens=max_document_tokens,
use_sections=query_req.chunks_above > 0 or query_req.chunks_below > 0,
) )
search_tool = SearchTool( search_tool = SearchTool(