summaryrefslogtreecommitdiff
path: root/Omni/Bild/Example.rs
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-01 15:56:47 -0500
committerBen Sima <ben@bensima.com>2025-12-01 15:56:47 -0500
commit69d3313c39e739aab725ac9fbdd421620ae19d69 (patch)
tree93ed9ed799462e559bbc03c6cd191aa430d69c42 /Omni/Bild/Example.rs
parentb767491a8a0ef9b46c198a0584e8d43c2d17d87d (diff)
Add guardrail for repeated edit_file failures
Tracks 'old_str not found' errors from edit_file tool calls. After 5 consecutive failures, stops the agent to prevent burning tokens on impossible edits. This catches the pattern where the agent repeatedly tries to edit a large file with incorrect old_str matches, which was the root cause of t-222 exceeding its cost budget. Task-Id: t-224
Diffstat (limited to 'Omni/Bild/Example.rs')
0 files changed, 0 insertions, 0 deletions