feat: Update chat session instructions to recommend batch editing for multiple operations.
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user