fix: feed today-only data to AI daily summary to reduce hallucination

Shrink summary context and prompts to today's trades and positions only, and tighten anti-fabrication rules.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-09 09:39:40 +08:00
parent a5c6e0c5b6
commit 2786acf884
4 changed files with 123 additions and 23 deletions
+1 -1
View File
@@ -3092,7 +3092,7 @@
.join("");
return (
`<div class="ai-closed-trades-wrap">` +
`<h4 class="ai-closed-trades-title">平仓明细(昨日 + 今日)</h4>` +
`<h4 class="ai-closed-trades-title">平仓明细(今日)</h4>` +
`<div class="ai-ac-table-wrap"><table class="ai-ac-table ai-closed-trades-table">${head}<tbody>${body}</tbody></table></div>` +
`</div>`
);