abacusai.bot_creation_block

Classes

BotCreationBlock

Why creating a personal agent would be refused for the user right now

Module Contents

class abacusai.bot_creation_block.BotCreationBlock(client, reason=None, maxAgents=None)

Bases: abacusai.return_class.AbstractApiClass

Why creating a personal agent would be refused for the user right now

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • reason (str) – credits (out of credits: add credits or upgrade), credits_upgrade (out of credits on a tier that must upgrade), agent_limit (the plan’s active-agent limit is reached), or None when a create would go through.

  • maxAgents (int) – The active-agent limit of a capped plan.

reason = None
max_agents = None
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict