Using pm.CustomDist and got error:TypeError: rv_op() got an unexpected keyword argument 'mu'

The CustomDist parameters must be passed as positional arguments, not by keyword.

    pm.CustomDist("likelihood",
                    mu[cond_idx,subj_idx,time_idx], 
                    sigma[cond_idx,subj_idx,time_idx],
                    ndt_i[subj_idx, time_idx],
                    dist=dist,
                    observed=df_flanker.RT - ndt_i[subj_idx, time_idx].eval(),
                    dims="trial")