logoalt Hacker News

m0rdetoday at 9:59 AM1 replyview on HN

Feedback loops are important to agents. In the article, the agent runs this build command and notices an error. With that feedback loop, it can iterate a solution without requiring human intervention. But the fact that the build command pollutes the context in this case is a double-edge sword.


Replies

tovejtoday at 11:45 AM

If you really need that, the easy solution here is to get a list of errors using an LSP (or any other way of getting a list of errors, even grep "Error:"), and only giving that list of errors to the LLM if the build fails. Otherwise just tell the LLM "build succeeded".

That's an extremely simple solution. I don't see the point in this LLM=true bullshit.