mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-01 05:00:46 +00:00
feat: Add skipLoopDetection Configuration Option
This commit is contained in:
parent
b01ddf0aed
commit
386538521b
5 changed files with 123 additions and 7 deletions
|
|
@ -604,6 +604,7 @@ export async function loadCliConfig(
|
|||
trustedFolder,
|
||||
shouldUseNodePtyShell: settings.shouldUseNodePtyShell,
|
||||
skipNextSpeakerCheck: settings.skipNextSpeakerCheck,
|
||||
skipLoopDetection: settings.skipLoopDetection ?? false,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue