What quantization are you using? Which infra provider?
Baseten.co's version got into a loop rather rapidly... I've since added loop detection and adjusted some other settings on the pi coding agent and have yet to notice it again. I also switched to DeepInfra ... who serves an fp4 version admittedly, but I've had no issues with it as of yet and it's the top provider on openrouter.ai volume wise.
If memory serves the DeepInfra offering is marked as fp4 because that's the native precision of the experts (which are of course the majority of the weights in a MoE model) so they feel that's the more accurate label, while most other providers claim fp8 because the dense layers are natively fp8 and they want to display the bigger number for obvious reasons. They're not actually serving at different precisions, it's just a confusing mess.