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(
453
453
toolCalls : CodebuffToolCall < 'str_replace' > [ ]
454
454
} ,
455
455
) {
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
+
457
466
// Early exit conditions - fail gracefully without blocking user edits
458
467
if ( batchContext . intendedChanges . size === 0 ) {
459
468
return
@@ -489,12 +498,27 @@ async function applyBenchifyIfNeeded(
489
498
return
490
499
}
491
500
501
+ logger . debug (
502
+ {
503
+ filteredChanges,
504
+ options,
505
+ } ,
506
+ 'about to call callBenchifyWithResilience' ,
507
+ )
508
+
492
509
// Call Benchify with timeout and retry logic
493
510
const benchifyResult = await callBenchifyWithResilience (
494
511
filteredChanges ,
495
512
options ,
496
513
)
497
514
515
+ logger . debug (
516
+ {
517
+ benchifyResult,
518
+ } ,
519
+ 'callBenchifyWithResilience response' ,
520
+ )
521
+
498
522
if ( benchifyResult && benchifyResult . length > 0 ) {
499
523
logger . info (
500
524
{
You can’t perform that action at this time.
0 commit comments