feat: add chat log step display

#324
#742
This commit is contained in:
ulleo
2026-01-28 19:07:08 +08:00
committed by ulleo
parent 7560f4c95a
commit 3d440e9a6d
+1
View File
@@ -356,6 +356,7 @@ def get_chat_with_records(session: SessionDep, chart_id: int, current_user: Curr
and_(
ChatLog.pid.in_(record_ids),
ChatLog.local_operation == False,
ChatLog.operate != OperationEnum.GENERATE_RECOMMENDED_QUESTIONS,
ChatLog.token_usage.is_not(None) # 排除token_usage为空的记录
)
)