@@ -522,7 +522,11 @@ export const Chat = ({
522522 // In bash mode at cursor position 0, backspace should exit bash mode
523523 const inputMode = useChatStore . getState ( ) . inputMode
524524 // Exit special modes on backspace at position 0
525- if ( inputMode !== 'default' && cursorPosition === 0 && key . name === 'backspace' ) {
525+ if (
526+ inputMode !== 'default' &&
527+ cursorPosition === 0 &&
528+ key . name === 'backspace'
529+ ) {
526530 useChatStore . getState ( ) . setInputMode ( 'default' )
527531 return true
528532 }
@@ -659,7 +663,6 @@ export const Chat = ({
659663 resumeQueue,
660664 continueChat,
661665 continueChatId,
662- onOpenFeedback : ( ) => handleOpenFeedbackForMessage ( null ) ,
663666 } )
664667
665668 sendMessageRef . current = sendMessage
@@ -944,27 +947,6 @@ export const Chat = ({
944947 ! feedbackMode &&
945948 ( hasStatusIndicatorContent || shouldShowQueuePreview || ! isAtBottom )
946949
947- // Ctrl+F to open feedback for latest completed AI message
948- useKeyboard (
949- useCallback (
950- ( key ) => {
951- // Don't handle if already in feedback mode
952- if ( feedbackMode ) return
953-
954- if ( key ?. ctrl && key . name === 'f' ) {
955- if (
956- 'preventDefault' in key &&
957- typeof key . preventDefault === 'function'
958- ) {
959- key . preventDefault ( )
960- }
961- handleOpenFeedbackForLatestMessage ( )
962- }
963- } ,
964- [ handleOpenFeedbackForLatestMessage , feedbackMode ] ,
965- ) ,
966- )
967-
968950 return (
969951 < box
970952 style = { {
0 commit comments