AsyncRequestError

class baseten.client.inferenceapi.AsyncRequestError(*, code, message)

Bases: BaseModel

Parameters:
  • code (Literal['MODEL_PREDICT_ERROR', 'MODEL_PREDICT_TIMEOUT', 'MODEL_NOT_READY', 'MODEL_DOES_NOT_EXIST', 'MODEL_UNAVAILABLE', 'MODEL_INVALID_INPUT', 'ASYNC_REQUEST_NOT_SUPPORTED', 'INTERNAL_SERVER_ERROR'] | str)

  • message (str)

model_config = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].