Force on a current carrying conductor placed in magnetic field $B$

If I place a thin current carrying conductor (electric current=i)in a magnetic field, the force acting on it is F=i(lXB). I have a doubt. Is B the external magnetic field or the vector sum of the external magnetic field and magnetic field produced by it?