File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -453,7 +453,16 @@ async function applyBenchifyIfNeeded(
453453 toolCalls : CodebuffToolCall < 'str_replace' > [ ]
454454 } ,
455455) {
456- logger . debug ( { options, batchContext } , 'Applying Benchify results' )
456+ logger . debug (
457+ {
458+ state : batchContext . state ,
459+ originalContents : batchContext . originalContents ,
460+ editedFiles : batchContext . editedFiles ,
461+ intendedChanges : batchContext . intendedChanges ,
462+ } ,
463+ 'called applyBenchifyIfNeeded' ,
464+ )
465+
457466 // Early exit conditions - fail gracefully without blocking user edits
458467 if ( batchContext . intendedChanges . size === 0 ) {
459468 return
@@ -489,12 +498,27 @@ async function applyBenchifyIfNeeded(
489498 return
490499 }
491500
501+ logger . debug (
502+ {
503+ filteredChanges,
504+ options,
505+ } ,
506+ 'about to call callBenchifyWithResilience' ,
507+ )
508+
492509 // Call Benchify with timeout and retry logic
493510 const benchifyResult = await callBenchifyWithResilience (
494511 filteredChanges ,
495512 options ,
496513 )
497514
515+ logger . debug (
516+ {
517+ benchifyResult,
518+ } ,
519+ 'callBenchifyWithResilience response' ,
520+ )
521+
498522 if ( benchifyResult && benchifyResult . length > 0 ) {
499523 logger . info (
500524 {
You can’t perform that action at this time.
0 commit comments