feat: add chat log step display

#324
#742
This commit is contained in:
ulleo
2026-01-28 18:59:54 +08:00
committed by ulleo
parent f8240acfcf
commit 7560f4c95a
+1 -1
View File
@@ -606,7 +606,7 @@ def get_chat_log_history(session: SessionDep, chat_record_id: int, current_user:
if chat_record.create_time and chat_record.finish_time:
try:
time_diff = chat_record.finish_time - chat_record.create_time
total_duration = time_diff.total_seconds()
total_duration = round(time_diff.total_seconds(), 2)
except Exception:
total_duration = None