feat: Add skipLoopDetection Configuration Option

This commit is contained in:
tanzhenxin
2025-09-15 14:02:46 +08:00
parent b01ddf0aed
commit 386538521b
5 changed files with 123 additions and 7 deletions

View File

@@ -604,6 +604,7 @@ export async function loadCliConfig(
trustedFolder,
shouldUseNodePtyShell: settings.shouldUseNodePtyShell,
skipNextSpeakerCheck: settings.skipNextSpeakerCheck,
skipLoopDetection: settings.skipLoopDetection ?? false,
});
}

View File

@@ -604,6 +604,15 @@ export const SETTINGS_SCHEMA = {
description: 'Skip the next speaker check.',
showInDialog: true,
},
skipLoopDetection: {
type: 'boolean',
label: 'Skip Loop Detection',
category: 'General',
requiresRestart: false,
default: false,
description: 'Disable all loop detection checks (streaming and LLM).',
showInDialog: true,
},
enableWelcomeBack: {
type: 'boolean',
label: 'Enable Welcome Back',