code: func (s *Store) AutopilotSetConfig(idx uint64, config *autopilot.Config) error {
  	tx := s.db.Txn(true)
  	defer tx.Abort()
  
  	if err := s.autopilotSetConfigTxn(idx, tx, config); err != nil {
  		return err
  	}
  
  	tx.Commit()
  	return nil
  }
docs: // AutopilotSetConfig is used to set the current Autopilot configuration.