class_docstr: Base class for MLflow Gateway providers.
code: def check_for_model_field(payload):
      from fastapi import HTTPException
  
      if "model" in payload:
          raise HTTPException(
              status_code=422,
              detail="The parameter 'model' is not permitted to be passed. The route being "
              "queried already defines a model instance.",
          )
  
file_path: mlflow/mlflow/gateway/providers/base.py
imports: from abc import ABC, abstractclassmethod
  from typing import Tuple
  from fastapi import HTTPException
  from mlflow.gateway.config import RouteConfig
  from mlflow.gateway.schemas import chat, completions, embeddings
label_desc: Use image node_id 2 for calling the BaseProvider obj's underlying member method code with example usage: obj.check_for_model_field(payload) without return types