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

A tip for everyone doing this: pipe the linters' stdout to /dev/null to save on tokens.


Why? The agent needs the error messages from the linters to know what to do.


If you're running linters for formatting etc, just get the agent to run them on autocorrect and it doesn't need to know the status as urgently.


That's just one part of it. I want the LLM to see type checking errors, failing test outputs, etc.


Errors shouldn’t be on stdout ;)


“Errors” printed by your linter aren’t errors, they’re reports


So if I want my CICD break on linter errors I have to implement parsing of stdout?

I'd rather have it breakout of the box by going to stderr.




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

Search: