mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-20 13:05:49 +02:00
Issue fix
This commit is contained in:
committed by
Chris Weaver
parent
5c78af1f07
commit
8e441d975d
@@ -282,7 +282,10 @@ def stream_chat_message_objects(
|
|||||||
# use alternate persona if alternative assistant id is passed in
|
# use alternate persona if alternative assistant id is passed in
|
||||||
if alternate_assistant_id is not None:
|
if alternate_assistant_id is not None:
|
||||||
persona = get_persona_by_id(
|
persona = get_persona_by_id(
|
||||||
alternate_assistant_id, user=user, db_session=db_session
|
alternate_assistant_id,
|
||||||
|
user=user,
|
||||||
|
db_session=db_session,
|
||||||
|
is_for_edit=False
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
persona = chat_session.persona
|
persona = chat_session.persona
|
||||||
|
Reference in New Issue
Block a user