mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-07 19:38:19 +02:00
Fix Empty Chat for API (#39)
This commit is contained in:
parent
9ae3a4af7f
commit
6b46a71cb5
@ -66,7 +66,7 @@ def handle_simplified_chat_message(
|
||||
parent_message, _ = create_chat_chain(
|
||||
chat_session_id=chat_message_req.chat_session_id, db_session=db_session
|
||||
)
|
||||
except RuntimeError:
|
||||
except Exception:
|
||||
parent_message = get_or_create_root_message(
|
||||
chat_session_id=chat_message_req.chat_session_id, db_session=db_session
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user