Merge pull request #610 from QwenLM/feat/skip-loop-detection

Add `skipLoopDetection` Configuration Option
This commit is contained in:
pomelo
2025-09-16 15:31:51 +08:00
committed by GitHub
6 changed files with 141 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',