agent: Limit the size of patches generated from user edits (#34548)
Gradually remove details from a patch to keep it within the size limit. This helps avoid using too much context when the user pastes large files, generates files, or just makes many changes between agent notifications. Release Notes: - N/A
This commit is contained in:
parent
8ee5bf2c38
commit
e339566dab
3 changed files with 145 additions and 2 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -779,6 +779,7 @@ dependencies = [
|
|||
"collections",
|
||||
"component",
|
||||
"derive_more 0.99.19",
|
||||
"diffy",
|
||||
"editor",
|
||||
"feature_flags",
|
||||
"fs",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue