File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ export async function executeBatchStrReplaces({
132132 const editedFiles : Record < string , string > = { }
133133
134134 // Create the requestClientToolCall function once for all operations
135- const requestClientToolCall = createRequestClientToolCall ( ws , userInputId )
135+ const requestClientToolCall = createRequestClientToolCall ( { ws, userInputId } )
136136
137137 // Execute operations grouped by path for better parallelization
138138 const pathPromises : Record < string , Promise < void > > = { }
@@ -371,7 +371,11 @@ async function executeSingleStrReplace(
371371/**
372372 * Creates a typed requestClientToolCall function for batch mode
373373 */
374- function createRequestClientToolCall ( ws : WebSocket , userInputId : string ) {
374+ function createRequestClientToolCall ( params : {
375+ ws : WebSocket
376+ userInputId : string
377+ } ) {
378+ const { ws, userInputId } = params
375379 return async (
376380 clientToolCall : any ,
377381 ) : Promise < CodebuffToolOutput < 'str_replace' > > => {
You can’t perform that action at this time.
0 commit comments