Skip to content

The agent that grows with you

Merge origin/main into feat/hermes-relay-shared-metrics

Alex Fournier8314854d526f
diff --cc agent/tool_executor.py
index 7c9fea12329,d32fe99c0c5..1dfcf1ebf6e
--- a/agent/tool_executor.py
+++ b/agent/tool_executor.py
@@@ -1094,11 -863,11 +1099,13 @@@ def execute_tool_calls_concurrent(agent
spinner.stop(f"⚡ {completed}/{num_tools} tools completed in {total_dur:.1f}s total")
# ── Post-execution: display per-tool results ─────────────────────
- for i, (tc, name, args, middleware_trace, block_result, blocked_by_guardrail) in enumerate(parsed_calls):
+ for i, (tc, name, args, middleware_trace, _parse_error, _scope_block) in enumerate(
+ parsed_calls
+ ):
r = results[i]
blocked = False
+ is_error = True
+ progress_function_name = name
# A worker can finish and write results[i] in the window between the
# deadline snapshot (timed_out_indices, taken from not_done) and this
# loop. Prefer that real result over a fabricated timeout message — the
@@@ -1154,8 -923,7 +1161,9 @@@
tool_duration = 0.0
else:
function_name, function_args, function_result, tool_duration, is_error, blocked, middleware_trace = r
+ name = function_name
+ args = function_args
+ progress_function_name = function_name
if blocked:
effect_disposition = "none"