LostRuins / koboldcpp

Run GGUF models easily with a KoboldAI UI. One File. Zero Install.
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
5.2k stars 357 forks source link

Allow printing of non-ASCII characters #1124

Open Kas1o opened 1 month ago

Kas1o commented 1 month ago

koboldcpp.py Line 2005 set ensure_ascii=False can help non-English user read their prompt simpler.

LostRuins commented 1 month ago

It should work. If it does not work, your terminal does not support printing non-english characters.

image

Kas1o commented 1 month ago

image I am using Windows Terminal, Output can display but Prompt will only display in unicode sequence.

LostRuins commented 1 month ago

Ah, that's because it's printing out the raw json stringified payload