Issue fix

This commit is contained in:
Eugene Astroner 2024-07-26 11:57:46 +07:00 committed by Chris Weaver
parent 5c78af1f07
commit 8e441d975d

View File

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