Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions modules/html_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,9 @@ def create_message(role, content, raw_content):

# Generate messages
if not last_message_only and converted_visible[0]:
output += create_message("user", converted_visible[0], row_internal[0])
output += create_message("user", converted_visible[0], row_visible[0])

output += create_message("assistant", converted_visible[1], row_internal[1])
output += create_message("assistant", converted_visible[1], row_visible[1])

if not last_message_only:
output += "</div></div>"
Expand Down Expand Up @@ -585,9 +585,9 @@ def create_message(role, content, raw_content):

# Generate messages
if not last_message_only and converted_visible[0]:
output += create_message("user", converted_visible[0], row_internal[0])
output += create_message("user", converted_visible[0], row_visible[0])

output += create_message("assistant", converted_visible[1], row_internal[1])
output += create_message("assistant", converted_visible[1], row_visible[1])

if not last_message_only:
output += "</div></div>"
Expand Down