Updated the agent code to differentiate between the dirichlet model, VI and GSVI.