When I kick off a crew, it gets stuck in a loop. Is there any parameter I can use to avoid the loop? If the problem is my OpenAI API Key then this should definitely stop after some retries, but my crew does not.
I’m struck in similar situation. Instead of llm=LLM(…), I am using llma=Ollama(…) as calling LLM was giving an error. No error on execution but goes in loop even though I’ve given max_iterations and max_time. Any help will be appreciated as cannot run open source on local laptop
Which model are you using with Ollama? I’ve seen weaker models often go into loops and just perform badly. Test with gpt-4o to see if the problem persists