mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-08 20:08:36 +02:00
Issue fix
This commit is contained in:
parent
5c78af1f07
commit
8e441d975d
@ -282,7 +282,10 @@ def stream_chat_message_objects(
|
||||
# use alternate persona if alternative assistant id is passed in
|
||||
if alternate_assistant_id is not None:
|
||||
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:
|
||||
persona = chat_session.persona
|
||||
|
Loading…
x
Reference in New Issue
Block a user