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

Fixed the Unicode logging issue in ooba_client.py #66

Closed harlyh closed 11 months ago

harlyh commented 11 months ago

Related Issue: https://github.com/chrisrude/oobabot/issues/65#issue-1806671339

Comment: I still don't know if this was caused by some kind of a change in Oobabooga or the fact that my Windows 11 Pro got a huge developer preview update today. If the latter is the case, this issue would've been raised in the near future anyway.

So in some sense, it showed itself earlier to me. The big question is whether my hypothesis is correct. I don't have time to debug or trace the issue today but I've seen Microsoft screwing with codepages and Unicode encoding in the past too, causing problems for Python.