We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a46c4b4 commit 58c7540Copy full SHA for 58c7540
1 file changed
eval_protocol/pytest/default_agent_rollout_processor.py
@@ -105,5 +105,6 @@ async def default_agent_rollout_processor(
105
await agent.setup()
106
await agent.call_agent()
107
dataset.append(EvaluationRow(messages=agent.messages, ground_truth=row.ground_truth))
108
- await agent.mcp_client.cleanup()
+ if agent.mcp_client:
109
+ await agent.mcp_client.cleanup()
110
return dataset
0 commit comments