From 52bf0a8114eea44cdbdec8cbc5ad990b7da42925 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 21 Aug 2025 17:12:33 -0700 Subject: [PATCH] fix: comment updates --- gui/src/redux/thunks/handleApplyStateUpdate.ts | 7 +------ gui/src/util/clientTools/searchReplaceImpl.ts | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/gui/src/redux/thunks/handleApplyStateUpdate.ts b/gui/src/redux/thunks/handleApplyStateUpdate.ts index 27f6fdc1b..1a56fe04b 100644 --- a/gui/src/redux/thunks/handleApplyStateUpdate.ts +++ b/gui/src/redux/thunks/handleApplyStateUpdate.ts @@ -98,12 +98,7 @@ export const handleApplyStateUpdate = createAsyncThunk< ); } } - // const output: ContextItem = { - // name: "Edit tool output", - // content: "Completed edit", - // description: "", - // }; - // dispatch(setToolCallOutput([])); + // TODO return output from edit tools so the model knows the result } } } diff --git a/gui/src/util/clientTools/searchReplaceImpl.ts b/gui/src/util/clientTools/searchReplaceImpl.ts index 87909f4d0..b734b61ca 100644 --- a/gui/src/util/clientTools/searchReplaceImpl.ts +++ b/gui/src/util/clientTools/searchReplaceImpl.ts @@ -83,7 +83,7 @@ export const searchReplaceToolImpl: ClientToolImpl = async ( // Single applyToFile call with all accumulated changes // This works becaues of our logic in `applyCodeBlock` that determines // that the full file rewrite here can be applied instantly, so the diff - // lines are just + // lines are generated with meyers diff and streamed instantaneously extras.dispatch( updateApplyState({ streamId,