Skip to content

Commit e7f1c59

Browse files
committed
Sync agent tool replacement types
1 parent 9837c2a commit e7f1c59

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

agents/types/tools.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,10 @@ export interface ProposeStrReplaceParams {
226226
/** Array of replacements to make. */
227227
replacements: {
228228
/** The string to replace. This must be an *exact match* of the string you want to replace, including whitespace and punctuation. */
229-
old: string
230-
/** The string to replace the corresponding old string with. Can be empty to delete. */
231-
new: string
232-
/** Whether to allow multiple replacements of old string. */
229+
oldString: string
230+
/** The string to replace the corresponding oldString with. Can be empty to delete. */
231+
newString: string
232+
/** Whether to allow multiple replacements of oldString. */
233233
allowMultiple?: boolean
234234
}[]
235235
}
@@ -358,10 +358,10 @@ export interface StrReplaceParams {
358358
/** Array of replacements to make. */
359359
replacements: {
360360
/** The string to replace. This must be an *exact match* of the string you want to replace, including whitespace and punctuation. */
361-
old: string
362-
/** The string to replace the corresponding old string with. Can be empty to delete. */
363-
new: string
364-
/** Whether to allow multiple replacements of old string. */
361+
oldString: string
362+
/** The string to replace the corresponding oldString with. Can be empty to delete. */
363+
newString: string
364+
/** Whether to allow multiple replacements of oldString. */
365365
allowMultiple?: boolean
366366
}[]
367367
}

0 commit comments

Comments
 (0)