4. If the cotangents of the three interior angles $A, B, C$ of triangle $\triangle A B C$, $\cot A, \cot B, \cot C$, form an arithmetic sequence, then the maximum value of angle $B$ is $\frac{\pi}{3}$.