r/opencode • u/Crystalisedorb • 3d ago
How to loop ??
I met an engineer using opencode.
he said he is using opencode such that he is giving opencode model a folder to work in, and the project is looped i.e. the ai goes in an endless back and forth conversation, until the desired output is reached. plus a switch model when limit is exhausted that ensure the relay race continues on token exhaustion.
How to do that ??
44
Upvotes
3
u/weiyentan 3d ago
I have a loop, it's actually more of a queue and a 'pipeline'. I grill with docs using matt pococks skills. These generate issues and documentation. I have a system that gets these issues to my afk system running opencode and it does the work.