feat: system.md双要话术+国家代码引导+四处禁令改写(防自锁)+同源断言

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-10-08 12:26:39 +08:00
parent f191690d01
commit 1ce251e8cf
5 changed files with 103 additions and 7 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ async def _build_payload(
raw_info = profile.raw_info or {}
client_info = conv.client_info or {}
# _ 前缀内部状态(一次性计数等)不进推送画像(spec §4.3——渲染侧
# 两处有过滤,推送端曾整体拷贝泄漏)
# 三处有过滤(enrich/reminder/email_service),推送端曾整体拷贝泄漏)
profile_out = {k: v for k, v in raw_info.items()
if not str(k).startswith("_")}
profile_out["country"] = resolve_country(client_info.get("ip", ""))