code: def _add_model_to_payload_if_necessary(self, payload):
      # NB: For Azure OpenAI, the deployment name (which is included in the URL) specifies
      # the model; it is not specified in the payload. For OpenAI outside of Azure, the
      # model is always specified in the payload
      if self.openai_config.openai_api_type not in (
          OpenAIAPIType.AZURE,
          OpenAIAPIType.AZUREAD,
      ):
          return {"model": self.config.model.name, **payload}
      else:
          return payload
  
file_path: mlflow/mlflow/gateway/providers/openai.py
imports: from mlflow.exceptions import MlflowException
  from mlflow.gateway.config import OpenAIAPIType, OpenAIConfig, RouteConfig
  from mlflow.gateway.providers.base import BaseProvider
  from mlflow.gateway.providers.utils import send_request
  from mlflow.gateway.schemas import chat, completions, embeddings
  from mlflow.utils.uri import append_to_uri_path, append_to_uri_query_params
label_desc: Use image node_id 4 for calling the OpenAIProvider obj's underlying member method code with example usage: obj._add_model_to_payload_if_necessary(payload) and returns: dict, payload