mini-agi icon indicating copy to clipboard operation
mini-agi copied to clipboard

Getting stuck in repeating loops

Open jwestonmoss opened this issue 1 year ago • 2 comments

This could be a reflection of the fact that 3.5 is a weaker model, but the agent is getting stuck in essentially repeating loops, some examples:

Trying to install the same package over and over across multiple prompts

Trying to create the same file or folder over and over again, succeeding the first time and then failing ever after that (already exists)

Do you think this is a problem with how I am prompting, is this a micro-gpt issue, a 3.5 issue, or a ThinkGPT issue?

jwestonmoss avatar Apr 25 '23 15:04 jwestonmoss

Thanks for your help, this is very exciting stuff

jwestonmoss avatar Apr 25 '23 15:04 jwestonmoss

Do you think this is a problem with how I am prompting, is this a micro-gpt issue, a 3.5 issue, or a ThinkGPT issue?

It's less of an issue with GPT-4. But we could still try to address it on the ThinkGPT level. One option would be adding a critic that checks the actions of the agent for loops and other misbehavior. That's something we are exploring.

muellerberndt avatar Apr 25 '23 15:04 muellerberndt

Added a critic that should detect loops (although they sometimes still don't get detected when using GPT-3.5-Turbo).

muellerberndt avatar May 19 '23 16:05 muellerberndt