File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ export type ToIdeFromWebviewProtocol = ToIdeFromWebviewOrCoreProtocol & {
5252
5353export type ToWebviewFromIdeProtocol = ToWebviewFromIdeOrCoreProtocol & {
5454 setInactive : [ undefined , void ] ;
55- submitMessage : [ { message : any } , void ] ; // any -> JSONContent from TipTap
5655 newSessionWithPrompt : [ { prompt : string } , void ] ;
5756 userInput : [ { input : string } , void ] ;
5857 focusContinueInput : [ undefined , void ] ;
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import { streamResponseAfterToolCall } from "../redux/thunks/streamResponseAfter
3030import { store } from "../redux/store" ;
3131import { cancelStream } from "../redux/thunks/cancelStream" ;
3232import { refreshSessionMetadata } from "../redux/thunks/session" ;
33- import { streamResponseThunk } from "../redux/thunks/streamResponse" ;
3433import { updateFileSymbolsFromHistory } from "../redux/thunks/updateFileSymbols" ;
3534import { findToolCallById , logToolUsage } from "../redux/util" ;
3635import {
@@ -220,16 +219,6 @@ function ParallelListeners() {
220219 dispatch ( setTTSActive ( status ) ) ;
221220 } ) ;
222221
223- // TODO - remove?
224- useWebviewListener ( "submitMessage" , async ( data ) => {
225- void dispatch (
226- streamResponseThunk ( {
227- editorState : data . message ,
228- modifiers : { useCodebase : false , noContext : true } ,
229- } ) ,
230- ) ;
231- } ) ;
232-
233222 useWebviewListener ( "addContextItem" , async ( data ) => {
234223 dispatch (
235224 addContextItemsAtIndex ( {
You can’t perform that action at this time.
0 commit comments