fix(consult): speak like a person instead of a calculation report
Keep skill truth boundaries, but stop asking the model to announce skipped domains or parrot tool JSON. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -641,7 +641,7 @@ export async function POST(request: Request) {
|
||||
? generalDailyContext
|
||||
? "当前是无出生分钟的公共今日趋势咨询。可依据服务器提供的公共 Panchanga 摘要回答,但不得计算或推断个人星盘;不得补 00:00、时段中点或任何候选分钟。"
|
||||
: "当前是用户明确选择的无出生分钟一般咨询。不得计算或推断个人星盘;不得补 00:00、时段中点或任何候选分钟。"
|
||||
: "先加载 Jyotish Skill;如需新的个人星盘结论,必须调用服务器绑定的排盘工具。",
|
||||
: "先加载 Jyotish Skill;如需新的个人星盘结论,必须调用服务器绑定的排盘工具。请用口语直接回答,不要复述内部字段或报本轮算了什么。",
|
||||
generalDailyContextPrompt(generalDailyContext),
|
||||
resolvedQuestion.modelQuestion,
|
||||
].filter(Boolean).join("\n"),
|
||||
@@ -886,9 +886,8 @@ export async function POST(request: Request) {
|
||||
content: [
|
||||
currentTimeContext(requestTime),
|
||||
name ? `用户称呼:${name}` : "",
|
||||
"请直接用口语回答下面的问题。星盘事实只使用系统里已经注入的计算结果,不要复述内部字段、JSON 或再跑一遍咨询流程。",
|
||||
resolvedQuestion.modelQuestion,
|
||||
"\n需要查询星盘时,使用以下经过服务端校验的工具参数:",
|
||||
JSON.stringify(toolInput),
|
||||
].filter(Boolean).join("\n"),
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user