summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/useLoadingIndicator.test.ts
diff options
context:
space:
mode:
authorTaylor Mullen <[email protected]>2025-05-25 13:37:37 -0700
committerN. Taylor Mullen <[email protected]>2025-05-25 13:40:58 -0700
commitceb25c8350dd21a56a1431643faf8739d026b869 (patch)
tree50a24a88ff7b9072bbc9d6c54ed8c8af72c6b04a /packages/cli/src/ui/hooks/useLoadingIndicator.test.ts
parent24da7b3ca69cb4729b86dc74d43f16efa3a2ac64 (diff)
refactor: Decouple new_string correction from old_string
- Previously, `new_string` was assumed to be over-escaped if `old_string` was. - This change introduces an explicit check (`newStringPotentiallyEscaped`) to determine if `new_string` itself needs correction. - If `new_string` is potentially escaped, its corrected using an LLM call; otherwise, the original `new_string` is used. - This avoids unnecessary corrections to `new_string` when only `old_string` was problematic. Part of https://github.com/google-gemini/gemini-cli/issues/484
Diffstat (limited to 'packages/cli/src/ui/hooks/useLoadingIndicator.test.ts')
0 files changed, 0 insertions, 0 deletions