Skip to content

Commit ffabf58

Browse files
committed
Update rate limit exceeded log line
1 parent e618ed9 commit ffabf58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/eval/eval.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ func (h *evalCommandHandler) callModelWithRetry(ctx context.Context, req azuremo
353353
continue
354354
}
355355
}
356-
return "", fmt.Errorf("rate limit exceeded after %d attempts: %w", maxRetries+1, err)
356+
return "", fmt.Errorf("rate limit exceeded after %d attempts: %w", attempt+1, err)
357357
}
358358
// For non-rate-limit errors, return immediately
359359
return "", err

0 commit comments

Comments
 (0)