File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -1132,15 +1132,8 @@ export const webviewMessageHandler = async (
11321132 // Force a state update to ensure the webview reflects the changes
11331133 await provider . postStateToWebview ( )
11341134
1135- // Auto-resume the task after editing
1136- // Use setTimeout to ensure the task is fully initialized and the ask dialog is ready
1137- setTimeout ( async ( ) => {
1138- const currentCline = provider . getCurrentCline ( )
1139- if ( currentCline && currentCline . isInitialized ) {
1140- // Simulate clicking "Resume Task" by sending the response directly
1141- currentCline . handleWebviewAskResponse ( "messageResponse" , message . text , message . images )
1142- }
1143- } , 100 ) // Small delay to ensure proper initialization
1135+ // Note: Removed auto-resume logic to prevent duplicate messages.
1136+ // The user will manually send the edited message when ready.
11441137 }
11451138 }
11461139 }
You can’t perform that action at this time.
0 commit comments