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,