mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-19 12:03:54 +02:00
Added bool to disable chat_session_id check for search_docs for api
This commit is contained in:
committed by
Chris Weaver
parent
9f179940f8
commit
16d1c19d9f
@@ -182,6 +182,7 @@ def handle_simplified_chat_message(
|
||||
new_msg_req=full_chat_msg_info,
|
||||
user=user,
|
||||
db_session=db_session,
|
||||
enforce_chat_session_id_for_search_docs=False,
|
||||
)
|
||||
|
||||
return _convert_packet_stream_to_response(packets)
|
||||
@@ -301,6 +302,7 @@ def handle_send_message_simple_with_history(
|
||||
new_msg_req=full_chat_msg_info,
|
||||
user=user,
|
||||
db_session=db_session,
|
||||
enforce_chat_session_id_for_search_docs=False,
|
||||
)
|
||||
|
||||
return _convert_packet_stream_to_response(packets)
|
||||
|
Reference in New Issue
Block a user