mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-18 15:50:13 +02:00
Fix black
This commit is contained in:
parent
8e441d975d
commit
d28f460330
@ -282,10 +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,
|
alternate_assistant_id,
|
||||||
user=user,
|
user=user,
|
||||||
db_session=db_session,
|
db_session=db_session,
|
||||||
is_for_edit=False
|
is_for_edit=False,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
persona = chat_session.persona
|
persona = chat_session.persona
|
||||||
|
Loading…
x
Reference in New Issue
Block a user