How do you handle the risk of stripping out the exact stack trace the agent needed? That seems like the hard tradeoff here.
In a perfect world the LLM needs to be very explicit on what it wants to read
gonna ask the same... do far it's has been manually choosing what's useful in each command for the agents?
It has the strip aggressiveness level suport. You can tune up 3 levels for each template output of your stacktrace using lowfat-filter dsl, shellscript or python.