diff --git a/src/agents/_run_impl.py b/src/agents/_run_impl.py index a2d872bf1..ca8529d59 100644 --- a/src/agents/_run_impl.py +++ b/src/agents/_run_impl.py @@ -490,9 +490,6 @@ def process_model_response( continue # At this point we know it's a function tool call - if not isinstance(output, ResponseFunctionToolCall): - continue - tools_used.append(output.name) # Handoffs