perf: 优化 AI 提示词

This commit is contained in:
kuaifan
2025-02-26 20:47:03 +08:00
parent b01d5ce8c4
commit 25e5eb4427
2 changed files with 33 additions and 29 deletions

View File

@@ -1895,6 +1895,7 @@ class ProjectTask extends AbstractModel
$contexts[] = "任务截止时间:" . $this->end_at;
}
}
$contexts[] = "当前系统时间:" . Carbon::now()->toDateTimeString();
if ($this->content) {
$taskDesc = $this->content?->getContentInfo();
if ($taskDesc) {