Skip to content

Commit abc6236

Browse files
committed
Scripts:fix daily recommendation history duplication
1 parent 73d3765 commit abc6236

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/update_daily.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def get_ai_recommendation(context, history_titles):
170170
if not api_key:
171171
return None
172172

173-
history_str = "、".join(history_titles[-30:]) if history_titles else "无"
173+
history_str = "、".join(history_titles[:60]) if history_titles else "无"
174174

175175
prompt_template = """
176176
Please think carefully, lowely and accurately.

0 commit comments

Comments
 (0)