Merge pull request #2092 from QwenLM/fix/disable-llm-loop-detection

fix(core): remove LLM-based loop detection and enable skipLoopDetection by default
This commit is contained in:
tanzhenxin 2026-03-06 14:13:36 +08:00 committed by GitHub
commit fcebd14a90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 3 additions and 331 deletions

View file

@ -1023,7 +1023,7 @@ export async function loadCliConfig(
useBuiltinRipgrep: settings.tools?.useBuiltinRipgrep,
shouldUseNodePtyShell: settings.tools?.shell?.enableInteractiveShell,
skipNextSpeakerCheck: settings.model?.skipNextSpeakerCheck,
skipLoopDetection: settings.model?.skipLoopDetection ?? false,
skipLoopDetection: settings.model?.skipLoopDetection ?? true,
skipStartupContext: settings.model?.skipStartupContext ?? false,
truncateToolOutputThreshold: settings.tools?.truncateToolOutputThreshold,
truncateToolOutputLines: settings.tools?.truncateToolOutputLines,