π OpenHands: AI-Driven Development
remove sse subsection accessor of McpConfig in action_execution_client (#8021)
Chase693c72d670bb
diff --git a/openhands/runtime/impl/action_execution/action_execution_client.py b/openhands/runtime/impl/action_execution/action_execution_client.pyindex 5a3650aa40..60f18dcd7c 100644--- a/openhands/runtime/impl/action_execution/action_execution_client.py+++ b/openhands/runtime/impl/action_execution/action_execution_client.py@@ -331,9 +331,9 @@ class ActionExecutionClient(Runtime):if self.mcp_clients is None:self.log('debug',- f'Creating MCP clients with servers: {self.config.mcp.sse.mcp_servers}',+ f'Creating MCP clients with servers: {self.config.mcp.mcp_servers}',)- self.mcp_clients = await create_mcp_clients(self.config.mcp.sse.mcp_servers)+ self.mcp_clients = await create_mcp_clients(self.config.mcp.mcp_servers)return await call_tool_mcp_handler(self.mcp_clients, action)async def aclose(self) -> None: