12-factor-agents icon indicating copy to clipboard operation
12-factor-agents copied to clipboard

Add snippet about error handling being removed from primary context

Open Sypherd opened this issue 6 months ago • 2 comments

Just a minor addition to the "Compact Errors" section that error handling can often be removed from the agent's context window once a successful output is achieved. You demonstrate that in the GIF but reiterating it in the text could be good. I tried to maintain the same tone/style of the rest of the article.

Sypherd avatar Jun 06 '25 09:06 Sypherd

@Sypherd i like the intent here, and this adds more clarity - but it kind of duplicates content from the previous sentence - remove previous events from the context window is meant to capture this - I think they could be combined some way if you're up for it

dexhorthy avatar Jul 12 '25 22:07 dexhorthy

@dexhorthy Absolutely--makes total sense. I combined them, let me know if you think that's good or if you're fine leaving it the way it is in main.

Sypherd avatar Jul 15 '25 10:07 Sypherd