Skip to content

Commit 3d440e9

Browse files
committed
feat: add chat log step display
#324 #742
1 parent 7560f4c commit 3d440e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/apps/chat/curd/chat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ def get_chat_with_records(session: SessionDep, chart_id: int, current_user: Curr
356356
and_(
357357
ChatLog.pid.in_(record_ids),
358358
ChatLog.local_operation == False,
359+
ChatLog.operate != OperationEnum.GENERATE_RECOMMENDED_QUESTIONS,
359360
ChatLog.token_usage.is_not(None) # 排除token_usage为空的记录
360361
)
361362
)

0 commit comments

Comments
 (0)