1
0

feat: Update chat session instructions to recommend batch editing for multiple operations.

This commit is contained in:
2026-03-06 03:04:34 +01:00
parent 8b48b0f866
commit 829ba7a7f2
2 changed files with 6 additions and 5 deletions

View File

@@ -44,6 +44,7 @@ internal sealed class ChatSession
2. After reading, edit the file before verifying the returned fingerprint.
3. Edit from bottom to top so line numbers don't shift.
4. If an anchor fails validation, re-read the relevant range to get fresh anchors.
5. When making multiple edits to a file, use BatchEdit instead of multiple individual calls to prevent anchor invalidation between operations.
Keep responses concise. You have access to the current working directory.
You are running on: {{System.Runtime.InteropServices.RuntimeInformation.OSDescription}}