You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: account.rb
    path of file: ./repos/chatwoot/enterprise/app/models/enterprise
    
    the code of the file until where you have to start completion: module Enterprise::Account
  def usage_limits
    {
      agents: agent_limits.to_i,
    
    
  def get_limits(limit_name)
    config_name = "ACCOUNT_#{limit_name.to_s.upcase}_LIMIT"
    return self[:limits][limit_name.to_s] if self[:limits][limit_name.to_s].present?

    return GlobalConfig.get(config_name)[config_name] if GlobalConfig.get(config_name)[config_name].present?

    ChatwootApp.max_limit
  end