genai.text.generation.limits.limit_service module#

class genai.text.generation.limits.limit_service.LimitService[source]#

Bases: BaseService[BaseServiceConfig, BaseServiceServices]

async aretrieve()[source]#

Retrieves the current text generation limit from the server.

Raises:
Return type:

TextGenerationLimitRetrieveResponse

retrieve()[source]#

Retrieves the current text generation limit from the server.

Raises:
Return type:

TextGenerationLimitRetrieveResponse