File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
components/mainInput/Lump Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ export function LumpToolbar() {
57
57
if ( metaKey && event . key === "Enter" ) {
58
58
event . preventDefault ( ) ;
59
59
event . stopPropagation ( ) ;
60
- void dispatch ( callCurrentTool ( ) ) ;
60
+ dispatch ( callCurrentTool ( ) ) ;
61
61
} else if ( ( jetbrains ? altKey : metaKey ) && event . key === "Backspace" ) {
62
62
event . preventDefault ( ) ;
63
63
event . stopPropagation ( ) ;
64
- void dispatch ( cancelCurrentToolCall ( ) ) ;
64
+ dispatch ( cancelCurrentToolCall ( ) ) ;
65
65
}
66
66
}
67
67
} ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export function EditFile(props: EditToolCallProps) {
19
19
const src = `\`\`\`${ getMarkdownLanguageTagForFile ( props . relativeFilePath ?? "test.txt" ) } ${ props . relativeFilePath } \n${ props . changes ?? "" } \n\`\`\`` ;
20
20
21
21
const dispatch = useAppDispatch ( ) ;
22
-
22
+ const isStreaming = useAppSelector ( ( state ) => state . session . isStreaming ) ;
23
23
const applyState = useAppSelector ( ( state ) =>
24
24
selectApplyStateByToolCallId ( state , props . toolCallId ) ,
25
25
) ;
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ export const streamNormalInput = createAsyncThunk<
63
63
dispatch ( abortStream ( ) ) ;
64
64
break ;
65
65
}
66
+
66
67
dispatch ( streamUpdate ( next . value ) ) ;
67
68
next = await gen . next ( ) ;
68
69
}
You can’t perform that action at this time.
0 commit comments