code: func (s *Store) AutopilotConfig() (uint64, *autopilot.Config, error) {
  	tx := s.db.Txn(false)
  	defer tx.Abort()
  
  	// Get the autopilot config
  	c, err := tx.First("autopilot-config", "id")
  	if err != nil {
  		return 0, nil, fmt.Errorf("failed autopilot config lookup: %s", err)
  	}
  
  	config, ok := c.(*autopilot.Config)
  	if !ok {
  		return 0, nil, nil
  	}
  
  	return config.ModifyIndex, config, nil
  }
docs: // AutopilotConfig is used to get the current Autopilot configuration.