diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-01 13:02:53 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-01 13:02:53 -0500 |
| commit | d9e8cd9834fc265a86ef10b2c6680141ff31087c (patch) | |
| tree | 54356b2dfc62b4f46560c6f199f4f59a71e876fb /Omni/Agent | |
| parent | c432735cb377b45642b877cf77147fb9a2927e07 (diff) | |
Increase duplicate tool call guardrail limit from 5 to 20
The limit of 5 was too aggressive - reading 5 different files while
exploring a codebase would trigger the guardrail. 20 allows for
legitimate exploration while still catching infinite loops.
Diffstat (limited to 'Omni/Agent')
| -rw-r--r-- | Omni/Agent/Worker.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Omni/Agent/Worker.hs b/Omni/Agent/Worker.hs index 6691f21..286836a 100644 --- a/Omni/Agent/Worker.hs +++ b/Omni/Agent/Worker.hs @@ -317,7 +317,7 @@ runWithEngine worker repo task = do Engine.Guardrails { Engine.guardrailMaxCostCents = 200.0, Engine.guardrailMaxTokens = 1000000, - Engine.guardrailMaxDuplicateToolCalls = 5, + Engine.guardrailMaxDuplicateToolCalls = 20, Engine.guardrailMaxTestFailures = 3 } agentCfg = |
