Skip to content

Commit e69766c

Browse files
committed
update
1 parent 546ba39 commit e69766c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eval_protocol/mcp/execution/manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,8 @@ async def _execute_rollout(
397397
trajectory.termination_reason = TerminationReason.CONTROL_PLANE_SIGNAL
398398

399399
_, usage_stats = await policy(tool_schema, rollout_idx, conversation_history)
400-
usage_stats_list.append(usage_stats)
400+
if usage_stats:
401+
usage_stats_list.append(usage_stats)
401402

402403
# Add final control plane summary
403404
trajectory.control_plane_summary.update(

0 commit comments

Comments
 (0)