Agent just repeates same sentence again and again

Dit is happen on raw Python code or inside a JPNB? In the latter case I also observed it here Inconsistent Jupyter notebook handling - #2 by edervieux