fix commit chat wrapper