How can you stop your model from looping

Reddit r/LocalLLaMA News

Summary

Users report that AI models, including Qwen 3.6 35B, enter infinite loops when integrated with Copilot Chat or Hermes, generating excessive tokens or incorrect tool calls.

So i thought this is a small model issue but when i added a new gpu and i am able to run low mid model like Qwen 3.6 35b q4 or q5 this issue still exists now its not as much as small model but it does break when linking the model to copilot chat or Hermes the model mid task will start loop thinking or looping generating more than 40k token or generating a wrong tool call
Original Article

Similar Articles

MartinLoop

Product Hunt

MartinLoop is a tool for controlling AI coding agents with limits, proof, and run receipts.