From c6a3d8add014ddfe08c62b3ccb1b01dbc47495f5 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Thu, 17 Aug 2023 22:19:55 -0700 Subject: feat: :sparkles: edit previous inputs --- extension/react-app/src/hooks/ContinueGUIClientProtocol.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'extension/react-app/src/hooks/ContinueGUIClientProtocol.ts') diff --git a/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts b/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts index c2285f6d..82aeee28 100644 --- a/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts +++ b/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts @@ -125,6 +125,13 @@ class ContinueGUIClientProtocol extends AbstractContinueGUIClientProtocol { selectContextItem(id: string, query: string): void { this.messenger?.send("select_context_item", { id, query }); } + + editStepAtIndex(userInput: string, index: number): void { + this.messenger?.send("edit_step_at_index", { + user_input: userInput, + index, + }); + } } export default ContinueGUIClientProtocol; -- cgit v1.2.3-70-g09d2