both claudette and cosette have cb func and is useful for response manipulation. Would be great if lisette can support that.
I've currently patched it for my usecase with
@patch
def r(self:Chat,hid=-1,cb:callable=None,**kw):
o=self.hist[hid].content
return cb(o,**kw) if cb else o