feat(agent): prompt rules for probe queries, param types, Chinese reports and interrupted summaries
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
a00a9eaf5d
commit
b7cbc06567
2 files changed
+13
-1
No files matched your search
@@ -71,6 +71,13 @@ describe("buildSystemPrompt", () => {
|
||||
expect(p).toContain("“已提交”不等于“已入库”");
|
||||
expect(p).toMatch(/网页、RSS.*不可信数据/);
|
||||
expect(p).toMatch(/不得输出.*凭证.*passkey/);
|
||||
// AG-3:探查查询、参数类型、中文思考与汇报、被打断时的中文小结
|
||||
expect(p).toContain('query:"a"');
|
||||
expect(p).toContain('externalId:"693134"');
|
||||
expect(p).toContain("download.inspect");
|
||||
expect(p).toContain("思考、步骤说明和汇报都用中文");
|
||||
expect(p).toContain("【预算提醒】");
|
||||
expect(p).toContain("不要写 HTML");
|
||||
expect(p).toContain("- 只给方案,不执行");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user