/goal or any other way to ensure an agent reaches a good final result?
Hi folks
I'm testing OpenCode to power an agent to work in the background by receiving requests via an HTTP API.
Right now I'm getting good results, but sometimes it can get stuck (thinks but doesnt do anything else afterwards). I understand this is related to a bug parsing Qwen3.6, but regardless of that, other problems might also come up in the future.
So I was wondering if there is already a way to prevent the agent from getting stuck and "dead". Hermes has a really cool feature that detects this cases and nudges it to move forward. I'm not yet familiar with all the ins and outs of OpenCode, so I thought I would ask first.
Thanks!