Pulse pine nuts, almonds, and garlic in a food processor for about 20 seconds. Add basil, 1 cup olive oil, salt, and pepper. Blend for about 1 minute. Add additional olive oil until desired consistency is reached.