Open patrickvonplaten opened 2 months ago
Most tokenizer exception arguably come from the message being empty. Currently this gives the following error message:
'Invalid assistant message: '
which looks a bit incomplete. I think it'd be better to throw:
'Empty assistant message.'
Most tokenizer exception arguably come from the message being empty. Currently this gives the following error message:
which looks a bit incomplete. I think it'd be better to throw: