mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac
This commit is contained in:
parent
1ef8204359
commit
e61e7434a0
1 changed files with 1 additions and 1 deletions
|
|
@ -554,7 +554,7 @@ def get_sources_from_items(
|
|||
message_list = get_message_list(messages_map, message_id)
|
||||
message_history = "\n".join(
|
||||
[
|
||||
f"#### {m.get('role', 'user').capitalize()}\n{m.get('content')}\n\n"
|
||||
f"#### {m.get('role', 'user').capitalize()}\n{m.get('content')}\n"
|
||||
for m in message_list
|
||||
]
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue