To make this recipe gluten-free, substitute the all-purpose flour with a 1:1 gluten-free baking flour that includes xanthan gum. Ensure that the chocolate bar and chocolate chips are certified gluten-free. The texture may vary slightly, but the flavor remains rich and satisfying.