nip.utils.api.GenerationError

Contents

nip.utils.api.GenerationError#

exception nip.utils.api.GenerationError(num_retries: int | None = None)[source]#

Base class for exceptions raised during generation of the next message.

Parameters:

num_retries (int, optional) – The number of retries that have been attempted, or None if this data is not recorded.