Skip to content

Feature: Diff-based patch mode to reduce token usage #20

Description

@sasikumar161106

Currently the LLM must return the COMPLETE file content for every modification. For large files this wastes tokens and money. Add a patch/diff mode where the LLM can return unified diffs instead of full file content. This could reduce token usage by 50-90% for large files with small changes. The code_modifier would need to apply patches using difflib or similar.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions