Skip to content

_progress

ResponseGenerationProgressInfoMixin

Bases: HordeAPIObjectBaseModel

Source code in horde_sdk/ai_horde_api/apimodels/generate/_progress.py
class ResponseGenerationProgressInfoMixin(HordeAPIObjectBaseModel):
    finished: int
    """The amount of finished jobs in this request."""
    processing: int
    """The amount of still processing jobs in this request."""
    restarted: int
    """The amount of jobs that timed out and had to be restarted or were reported as failed by a worker."""
    waiting: int
    """The amount of jobs waiting to be picked up by a worker."""
    done: bool
    """True when all jobs in this request are done. Else False."""
    faulted: bool = False
    """True when this request caused an internal server error and could not be completed."""
    wait_time: int
    """The expected amount to wait (in seconds) to generate all jobs in this request."""
    queue_position: int
    """The position in the requests queue. This position is determined by relative Kudos amounts."""
    kudos: float
    """The amount of total Kudos this request has consumed until now."""
    is_possible: bool = True
    """If False, this request will not be able to be completed with the pool of workers currently available."""

finished instance-attribute

finished: int

The amount of finished jobs in this request.

processing instance-attribute

processing: int

The amount of still processing jobs in this request.

restarted instance-attribute

restarted: int

The amount of jobs that timed out and had to be restarted or were reported as failed by a worker.

waiting instance-attribute

waiting: int

The amount of jobs waiting to be picked up by a worker.

done instance-attribute

done: bool

True when all jobs in this request are done. Else False.

faulted class-attribute instance-attribute

faulted: bool = False

True when this request caused an internal server error and could not be completed.

wait_time instance-attribute

wait_time: int

The expected amount to wait (in seconds) to generate all jobs in this request.

queue_position instance-attribute

queue_position: int

The position in the requests queue. This position is determined by relative Kudos amounts.

kudos instance-attribute

kudos: float

The amount of total Kudos this request has consumed until now.

is_possible class-attribute instance-attribute

is_possible: bool = True

If False, this request will not be able to be completed with the pool of workers currently available.

ResponseGenerationProgressCombinedMixin

Bases: ResponseWithProgressMixin, ResponseGenerationProgressInfoMixin

Source code in horde_sdk/ai_horde_api/apimodels/generate/_progress.py
class ResponseGenerationProgressCombinedMixin(ResponseWithProgressMixin, ResponseGenerationProgressInfoMixin):
    pass