From 4f11e0ef53c6e4c5b97e9fc847bd95c25670e01d Mon Sep 17 00:00:00 2001 From: adonheis Date: Wed, 20 May 2026 14:19:50 -0400 Subject: [PATCH] fix: add missing stream parameter to autogen_mcp run_eval fixture Align _run() signature with other agents (react_agent, agentic_rag) for interface consistency. The parameter defaults to False and is not wired to TaskConfig since autogen always uses non-streaming for evals. Co-Authored-By: Claude Opus 4.6 (1M context) --- agents/autogen/mcp_agent/tests/behavioral/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/agents/autogen/mcp_agent/tests/behavioral/conftest.py b/agents/autogen/mcp_agent/tests/behavioral/conftest.py index 6c203d8..a612379 100644 --- a/agents/autogen/mcp_agent/tests/behavioral/conftest.py +++ b/agents/autogen/mcp_agent/tests/behavioral/conftest.py @@ -101,6 +101,7 @@ async def _run( timeout_seconds: float = 30.0, max_tokens_budget: int | None = None, model: str | None = None, + stream: bool = False, ) -> TaskResult: config = TaskConfig( agent_url=agent_url,