diff options
| author | Leo <[email protected]> | 2025-06-16 02:00:41 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-15 18:00:41 -0700 |
| commit | 5c8e49a0e3e84ea8d04f26201beb2f980e0a3951 (patch) | |
| tree | 5ba6e3934cc02eab940161bb0fac3f2228544b12 /packages/core/src/tools/edit.ts | |
| parent | 4463671284a41822b84ad4a2ecedbf007c078491 (diff) | |
bug: Fix modify edit (#1078)
Diffstat (limited to 'packages/core/src/tools/edit.ts')
| -rw-r--r-- | packages/core/src/tools/edit.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/core/src/tools/edit.ts b/packages/core/src/tools/edit.ts index 3317d460..ddb521be 100644 --- a/packages/core/src/tools/edit.ts +++ b/packages/core/src/tools/edit.ts @@ -467,10 +467,12 @@ Expectation for required parameters: } }, createUpdatedParams: ( + oldContent: string, modifiedProposedContent: string, originalParams: EditToolParams, ): EditToolParams => ({ ...originalParams, + old_string: oldContent, new_string: modifiedProposedContent, }), }; |
