fix(compact): use English checkpoints

This commit is contained in:
fz
2026-07-31 01:36:20 +08:00
parent a36721fa55
commit ed49f1d985
9 changed files with 74 additions and 6 deletions
@@ -1224,7 +1224,8 @@ describe('default one-shot summarizer', () => {
expect(messages[0]).toEqual(prefix)
const last = messages.at(-1)?.content[0]
const lastText = last?.type === 'text' ? last.text : ''
expect(lastText).toContain('Condense the conversation ABOVE')
expect(lastText).toContain('Produce only an English-language internal engineering checkpoint')
expect(lastText).toContain('Translate narrative source material as needed; preserve exact literals.')
expect(lastText).toContain('## Primary Request and Intent')
})