code: def test_invalid_embeddings_response(response):
      config = embedding_config()
      provider = MlflowModelServingProvider(RouteConfig(**config))
      with pytest.raises(HTTPException, match=r".*") as e:
          provider._process_embeddings_response_for_mlflow_serving(
              response
          )
  
      assert "EmbeddingsResponse\npredictions" in e.value.detail
      assert e.value.status_code == 502
  
file_path: mlflow/tests/gateway/providers/test_mlflow.py
imports: from unittest import mock
  import pydantic
  import pytest
  from aiohttp import ClientTimeout
  from fastapi import HTTPException
  from fastapi.encoders import jsonable_encoder
  from mlflow.gateway.config import MlflowModelServingConfig, RouteConfig
  from mlflow.gateway.constants import MLFLOW_GATEWAY_ROUTE_TIMEOUT_SECONDS, MLFLOW_SERVING_RESPONSE_KEY
  from mlflow.gateway.providers.mlflow import MlflowModelServingProvider
  from mlflow.gateway.schemas import chat, completions, embeddings
  from tests.gateway.tools import MockAsyncResponse, mock_http_client
label_desc: Use image node_id 6 for calling a global function with example usage: test_invalid_embeddings_response(response) without return types