From 3196b742b1b6e461d2f0683c344669db92adcb0e Mon Sep 17 00:00:00 2001 From: "zhangf@suq.cn" Date: Wed, 17 Dec 2025 15:33:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(queue):=20=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E6=A0=87=E9=A2=98=E8=AE=B0=E5=BD=95=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了生成过程中对已使用标题的记录逻辑 - 避免标题重复导致的内容生成偏差 - 简化提示词构建流程 --- app/queue/redis/CreationTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/queue/redis/CreationTask.php b/app/queue/redis/CreationTask.php index 87da120..977b90e 100644 --- a/app/queue/redis/CreationTask.php +++ b/app/queue/redis/CreationTask.php @@ -75,7 +75,7 @@ class CreationTask implements Consumer for ($i = 1; $i <= $creation_count; $i++) { echo "开始生成第{$i}篇\n"; $result = OpenAiClient::chat($finalPrompt); - $finalPrompt .= "已使用的标题:" . $result['content']['title'] . "\n"; +// $finalPrompt .= "已使用的标题:" . $result['content']['title'] . "\n"; var_export("AI返回结果:\n"); var_export($result); $results[] = [