How do you give clear guidance to agents? #595
Unanswered
DragonSigh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a project in C# and asking for bug fixes, but the agents use either a command for build that breaks the output (with parameters like 2>$1 ) or a command that shows me the whole array of errors and warnings cluttering up the context. I, on the other hand, want to use a command that outputs only the last few errors and their total number (last 20 lines).
I write in the original prompt: "For the build, use the command
dotnet build --nologo -v q --property WarningLevel=0 \/clp:ErrorsOnly \| tail -20- REMEMBER. You don't need to look at all errors at once to save context. You don't need to add the 2>$1 parameter to the command - as this breaks dotnet build." (char \ for escaping)I also added a note to memory, but agents break this rule all the time.
Where do I add this rule so they listen?
Beta Was this translation helpful? Give feedback.
All reactions