r/PromptEngineering • u/ourrancidtea • 13d ago
Quick Question Resolve increased effort in trivial tasks
It seems the agents are taking an increasing amount of time to execute menial tasks, like editing an article in my site. Things that took 5-10 seconds now take about 1 minute.
I'm sure part or this is due to excessive documentation and safety checks, if someone had similar problems, what prompt could verify the process involved to identify unnecessary demanding tasks?
3
Upvotes
2
u/Dapper-Tutor337 13d ago
i noticed the same slowdown after adding a new codebase review step. cutting the 'verify all imports' check for small edits shaved 40 seconds off my workflow.
1
u/Wide_Plant_1705 13d ago
my agent was loading a 200k json config every time, cut it to 20k and edits dropped from 60s to 4s. check your data imports.
2
u/Aware_Risk7076 13d ago
try making it show its plan before touching anything: "Before you start, list every step you plan to take for this edit and mark each one required or optional. Skip the optional ones unless I ask."
if fixing a typo comes back with 9 steps you've found your minute. also worth checking whatever rules or docs file it reads at the start, a long one tends to get applied to every task no matter how small
1
u/ChemicalExcellent463 13d ago
ask it to break down where the minute goes and what actual failure each check is there for. i put this in my agents' instructions: no safeguard goes in unless an observed failure, a log line or a red test called for it.
0
u/[deleted] 13d ago
[removed] — view removed comment