mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-06-16 13:34:04 +08:00
33eafbad51
* fix(copilot): raise infinite-whitespace threshold from 20 to 500 The previous threshold of 20 falsely aborted legitimate tool calls whose arguments contain indented code (write_file / edit_file with 4-8 levels of indentation in Python / YAML / Rust / Markdown easily exceed 20 consecutive whitespace chars, especially when newlines are counted). The real infinite-whitespace bug emits hundreds to thousands of consecutive whitespace characters, so 500 keeps the safety net while drastically reducing false positives. Refs #2646 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * docs: clarify whitespace threshold comment --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: Jason <farion1231@gmail.com>
33eafbad51
·
2026-06-04 11:29:25 +08:00
History