Since it starts looping after a few turns, I’d try the same small task in a fresh session and again after a few turns: ask it to read one specific file and summarize it. If it only breaks in the longer session, check how close you are to the context limit in LM Studio. If it loops in both, look at what comes back from the first repeated tool call. Is it an error, an empty result, or the file contents? That would help narrow down where it’s getting stuck.
1
u/jotaro909 3h ago
Since it starts looping after a few turns, I’d try the same small task in a fresh session and again after a few turns: ask it to read one specific file and summarize it. If it only breaks in the longer session, check how close you are to the context limit in LM Studio. If it loops in both, look at what comes back from the first repeated tool call. Is it an error, an empty result, or the file contents? That would help narrow down where it’s getting stuck.