diff options
| author | Taylor Mullen <[email protected]> | 2025-05-25 13:26:58 -0700 |
|---|---|---|
| committer | N. Taylor Mullen <[email protected]> | 2025-05-25 13:30:08 -0700 |
| commit | 24da7b3ca69cb4729b86dc74d43f16efa3a2ac64 (patch) | |
| tree | e671d22071c6441389bc69ce233a1c2bd07b9834 /packages/cli/src/ui/hooks/useToolScheduler.ts | |
| parent | fa4a04157f25556642a0d5b7d15f4ae52ba55e27 (diff) | |
refactor: Correct Gemini's over-escaped new_string in replace tool
- Implement a heuristic to detect and unescape `new_string` if it appears Gemini has over-escaped it, while `old_string` is correctly formatted.
- This improves the reliability of the replace tool when the model generates an incorrectly escaped replacement string.
Part of https://github.com/google-gemini/gemini-cli/issues/484
Diffstat (limited to 'packages/cli/src/ui/hooks/useToolScheduler.ts')
0 files changed, 0 insertions, 0 deletions
