fix: keep teacher runtime prompts within interface boundary

This commit is contained in:
鲨鱼辣椒 committed 2026-09-28 14:38:58 +08:00
1 parent 998796d77c
commit 54a40d2636
12 files changed
+313 -32

No files matched your search

+2 -2
View File
@@ -407,8 +407,8 @@ it('submits a nonempty proactive check-in without inventing a user message', asy
f.access.source.messages = [];
const { body, compiled } = await submitCompiledContext(f, 'check-in');
expect(compiled.messages.map(message => message.role)).toEqual(['system', 'system']);
expect(compiled.messages.at(-1)?.content).toContain('本轮是一次项目进展提醒,不是用户提问');
expect(body.query).toContain('仅依据已有证据');
expect(compiled.messages.at(-1)?.content).toContain('程序触发的项目进展检查,学生没有在本轮主动提问');
expect(body.query).toContain('回应方式遵循当前智能体的云端配置');
});
it('gives a server-defined friend the same scoped read tools', async () => {