Added bool to disable chat_session_id check for search_docs for api

This commit is contained in:
hagen-danswer
2024-09-19 17:29:49 -07:00
committed by Chris Weaver
parent 9f179940f8
commit 16d1c19d9f
3 changed files with 7 additions and 1 deletions

View File

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