优化提示词与问题,使随机更加有效。

This commit is contained in:
liuwei
2025-02-24 11:46:21 +08:00
parent 41f73053d0
commit 8ee35e8daa
3 changed files with 23 additions and 4 deletions

View File

@@ -113,7 +113,7 @@ def assign_random_task(group_id, player_id=None):
holder_id = holder['player_id']
holder_name = holder['player_name']
task = game_question_json("从不同的学科领域生成一个全新问题。")
task = game_question_json("出题!")
question = task["question"]
answer = task["answer"]
score = int(task["score"])