mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-30 01:30:21 +02:00
k
This commit is contained in:
parent
22573aba2a
commit
c0edfb50df
@ -448,8 +448,6 @@ def stream_chat_message_objects(
|
||||
else default_num_chunks
|
||||
),
|
||||
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
|
||||
|
@ -179,7 +179,6 @@ def stream_answer_objects(
|
||||
else default_num_chunks
|
||||
),
|
||||
max_tokens=max_document_tokens,
|
||||
use_sections=query_req.chunks_above > 0 or query_req.chunks_below > 0,
|
||||
)
|
||||
|
||||
search_tool = SearchTool(
|
||||
|
Loading…
x
Reference in New Issue
Block a user