chrisrude / oobabot

A Discord bot which talks to Large Language Model AIs running on oobabooga's text-generation-webui
MIT License
98 stars 33 forks source link

Unicode error #65

Closed harlyh closed 11 months ago

harlyh commented 11 months ago

The bot starts failing as soon as Unicode is in the recent context window ( such as a smiley, as seen below) image

I can't really pinpoint if this started happening today because of the latest oobabooga update, or because of the Windows update that I did before ooba update today. Before today I never encountered this issue.

PS! If I remove the "offending" message in Discord, the bot resumes working as normal.

harlyh commented 11 months ago

I already fixed it. Will create a pull request.

chrisrude commented 11 months ago

Awesome, will take a look in the next few days!

harlyh commented 11 months ago

Today, after oobabooga update, log formatting went to hell: WindowsTerminal_iMtGqTAi06

Created the second fix to account for this kind of thing too, and the result is that under Windows, emojis started showing: WindowsTerminal_Zp21zzsVaA

chrisrude commented 11 months ago

Will be included in the next update, closing for now.