Commit f2a6e42
committed
fix: improve error messages for diff marker escaping in apply_diff tool
- Enhanced error messages to clearly explain when and how to escape special markers
- Differentiated between structural errors and content escaping issues
- Added helpful examples showing correct escaping syntax
- Added comprehensive tests for marker escaping scenarios
- Fixes issue where Grok Coder models get confused by unescaped markers in content
Resolves #77501 parent 18cf33f commit f2a6e42
File tree
4 files changed
+506
-46
lines changed- src/core/diff/strategies
- __tests__
4 files changed
+506
-46
lines changed
0 commit comments