@@ -1676,13 +1676,7 @@ export interface ChatComposerProps {
16761676 onAdvanceActivePendingUserInput : ( ) => void ;
16771677 onDismissActivePendingUserInput : ( requestId : RuntimeRequestId ) => void ;
16781678 onPreviousActivePendingUserInputQuestion : ( ) => void ;
1679- onChangeActivePendingUserInputCustomAnswer : (
1680- questionId : string ,
1681- value : string ,
1682- nextCursor : number ,
1683- expandedCursor : number ,
1684- cursorAdjacentToMention : boolean ,
1685- ) => void ;
1679+ onChangeActivePendingUserInputCustomAnswer : ( questionId : string , value : string ) => void ;
16861680
16871681 onProviderModelSelect : (
16881682 instanceId : ProviderInstanceId ,
@@ -3731,9 +3725,6 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
37313725 onChangeActivePendingUserInputCustomAnswer (
37323726 activePendingProgress . activeQuestion . id ,
37333727 nextPrompt ,
3734- nextCursor ,
3735- expandedCursor ,
3736- cursorAdjacentToMention ,
37373728 ) ;
37383729 return ;
37393730 }
@@ -3927,13 +3918,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
39273918 promptRef . current = next . text ;
39283919 const activePendingQuestion = activePendingProgress ?. activeQuestion ;
39293920 if ( activePendingQuestion && activePendingUserInput ) {
3930- onChangeActivePendingUserInputCustomAnswer (
3931- activePendingQuestion . id ,
3932- next . text ,
3933- nextCursor ,
3934- nextExpandedCursor ,
3935- isLiteralPendingAnswer ,
3936- ) ;
3921+ onChangeActivePendingUserInputCustomAnswer ( activePendingQuestion . id , next . text ) ;
39373922 } else {
39383923 setPrompt ( next . text ) ;
39393924 onTypingGuardDraftChange ( ) ;
0 commit comments