We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7560f4c commit 3d440e9Copy full SHA for 3d440e9
1 file changed
backend/apps/chat/curd/chat.py
@@ -356,6 +356,7 @@ def get_chat_with_records(session: SessionDep, chart_id: int, current_user: Curr
356
and_(
357
ChatLog.pid.in_(record_ids),
358
ChatLog.local_operation == False,
359
+ ChatLog.operate != OperationEnum.GENERATE_RECOMMENDED_QUESTIONS,
360
ChatLog.token_usage.is_not(None) # 排除token_usage为空的记录
361
)
362
0 commit comments