code: def mlflow_mixed_config_dict():
      return {
          "routes": [
              {
                  "name": "chat-oss",
                  "route_type": "llm/v1/chat",
                  "model": {
                      "provider": "mlflow-model-serving",
                      "name": "mpt-chatbot",
                      "config": {
                          "model_server_url": "http://127.0.0.1:5000"
                      },
                  },
              },
              {
                  "name": "completions-oss",
                  "route_type": "llm/v1/completions",
                  "model": {
                      "provider": "mlflow-model-serving",
                      "name": "mpt-completion-model",
                      "config": {
                          "model_server_url": "http://127.0.0.1:5001"
                      },
                  },
              },
              {
                  "name": "embeddings-oss",
                  "route_type": "llm/v1/embeddings",
                  "model": {
                      "provider": "mlflow-model-serving",
                      "name": "sentence-transformers",
                      "config": {
                          "model_server_url": "http://127.0.0.1:5002"
                      },
                  },
              },
              {
                  "name": "completions",
                  "route_type": "llm/v1/completions",
                  "model": {
                      "provider": "anthropic",
                      "name": "claude-instant-1",
                      "config": {
                          "anthropic_api_key": "key",
                      },
                  },
              },
          ]
      }
  
imports: from unittest import mock
  import pytest
  from requests.exceptions import HTTPError, Timeout
  import mlflow.gateway.utils
  from mlflow.environment_variables import MLFLOW_GATEWAY_URI
  from mlflow.exceptions import InvalidUrlException, MlflowException
  from mlflow.gateway import MlflowGatewayClient, set_gateway_uri
  from mlflow.gateway.config import Route
  from mlflow.gateway.constants import MLFLOW_GATEWAY_SEARCH_ROUTES_PAGE_SIZE
  from mlflow.gateway.utils import resolve_route_url
  from tests.gateway.tools import Gateway, save_yaml
label_desc: Use image node_id 3 for calling a global function with example usage: mlflow_mixed_config_dict() and returns: dict