Skip to content

Commit 6661452

Browse files
JegernOUTTolegklimov
authored andcommitted
Simplification for the patch tool prompt
1 parent 076b55b commit 6661452

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/tools/tools_description.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,9 @@ tools:
263263
- name: "patch"
264264
agentic: true
265265
description: |
266-
Collect context first, then write the necessary changes using the 📍-notation before code blocks, then call this function to apply the changes.
267-
To make this call correctly, you only need the tickets.
268-
If you wrote changes for multiple files, call this tool in parallel for each file.
269-
If you have several attempts to change a single thing, for example following a correction from the user, pass only the ticket for the latest one.
270-
Multiple tickets is allowed only for PARTIAL_EDIT, otherwise only one ticket must be provided.
266+
The function to apply changes from the 📍-notation code blocks.
267+
To make this call correctly, you need the 📍-notation code block ticket number.
268+
Multiple tickets is allowed only for 📍PARTIAL_EDIT, otherwise only one ticket must be provided.
271269
parameters:
272270
- name: "path"
273271
type: "string"

0 commit comments

Comments
 (0)