How do you break the loop when an agent repeats the exact same broken fix?
by•
You point out a bug, the agent replies with You're absolutely right! and then outputs almost the exact same broken code with a slightly different variable name
Usually when this happens twice in a row I know the current context is polluted and it's faster to just revert and write the 10 lines myself
Do you have a specific prompt trick that snaps the model out of that loop or do you just cut your losses and take over manually?
48 views
p/runevr
p/teaserkit
p/google-cloud-platform
p/producthunt
p/contentin
p/lancetta
p/many-displays
p/inquir
p/kodlo
p/statefold-2
p/rightnow-ai
p/zush
p/murror
p/expert-chase-deleted-1107920
p/gatrends
p/kanbanq
p/reso
p/beamfy
p/rhun
Replies
fresh session with a two line note, what it already tried and what should happen instead