Skip to content

feat: use search/replace format for LLM responses#2

Merged
cachebag merged 1 commit into
masterfrom
feat/search-replace-format
May 18, 2026
Merged

feat: use search/replace format for LLM responses#2
cachebag merged 1 commit into
masterfrom
feat/search-replace-format

Conversation

@cachebag
Copy link
Copy Markdown
Owner

Switch from returning the full file to SEARCH/REPLACE blocks. The model now outputs only changed lines with context, cutting response time significantly on large files. Add patch.lua to parse and apply blocks, with fallback to full-file mode for backward compatibility.

Switch from returning the full file to SEARCH/REPLACE blocks. The model
now outputs only changed lines with context, cutting response time
significantly on large files. Add patch.lua to parse and apply blocks,
with fallback to full-file mode for backward compatibility.
@cachebag cachebag self-assigned this May 18, 2026
@cachebag cachebag merged commit 3be3df1 into master May 18, 2026
3 checks passed
@cachebag cachebag deleted the feat/search-replace-format branch May 18, 2026 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant