From 45841c3f948dabcc177d2306246020bc339709ae Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 1 Dec 2025 14:13:41 -0500 Subject: Show tool call arguments inline instead of JSON blob - Add formatToolCallSummary to extract key argument from JSON - Shows run_bash command, file paths for read/edit/write, patterns for search - Display summary inline in tool call header (e.g., run_bash: `ls -la`) - Increase token guardrail from 1M to 2M to prevent premature stops Task-Id: t-212 --- Omni/Agent/Worker.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Omni/Agent') diff --git a/Omni/Agent/Worker.hs b/Omni/Agent/Worker.hs index 286836a..0ad5a56 100644 --- a/Omni/Agent/Worker.hs +++ b/Omni/Agent/Worker.hs @@ -316,7 +316,7 @@ runWithEngine worker repo task = do let guardrails = Engine.Guardrails { Engine.guardrailMaxCostCents = 200.0, - Engine.guardrailMaxTokens = 1000000, + Engine.guardrailMaxTokens = 2000000, Engine.guardrailMaxDuplicateToolCalls = 20, Engine.guardrailMaxTestFailures = 3 } -- cgit v1.2.3