Add engagement-only conversation mode

This commit is contained in:
jjbrunton committed 2026-08-14 15:07:54 +01:00
1 parent b7fcc7db05
commit 7af7b211fa
24 files changed
+204 -23

No files matched your search

+4 -1
View File
@@ -80,7 +80,10 @@ describe('ConfigSchema', () => {
}
});
it('accepts r4r and manual behaviour while enforcing the autonomous turn limit', () => {
it('accepts engagement, r4r, and manual behaviour while enforcing the autonomous turn limit', () => {
expect(ConfigSchema.safeParse(minimalConfig({
reddit: { subreddits: [{ name: 'r4r', conversation: { mode: 'engagement' } }] },
})).success).toBe(true);
expect(ConfigSchema.safeParse(minimalConfig({
reddit: { subreddits: [{ name: 'r4r', conversation: { mode: 'r4r', maxAutomatedTurns: 12 } }] },
})).success).toBe(true);