Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Usually, I tell the agent to try out an idea and if I don't like the implementation or approach I want to undo the code changes. Then I start again, feeding it more information so it can execute a different idea or the same one with a better plan. This also helps the context window small.




Can’t you use git for that? I do that often and just revert changes. It does require me to commit often but that’s probably good anyways.

It's about not polluting the context. AI doesn't need information about things that didn't work in the new requests' context.

That's interesting. I use those moments to show it what not to do. Does it not just repeat the mistakes?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: