Skip to main content

Module delta_response

Module delta_response 

Source
Expand description

Delta responses for re-reads after edits (#1316).

When a file is re-read after the agent edited it, deliver only the changed lines instead of the full file. This eliminates redundant delivery of unchanged content the agent already has in context.

Structs§

DeltaResponse
A minimal unified-diff-style delta between two versions.
Hunk
A single change hunk.

Functions§

compute_delta
Compute a delta between old_content and new_content.