Closed sinful-developer closed 1 month ago
Thanks for reporting this. It was 1 stray comma that cause the whole issue. Fixed here: https://github.com/oobabooga/text-generation-webui/commit/498fec2c7c7df376007f264261acfcfcb76168ea
Classic ๐
I can confirm https://github.com/oobabooga/text-generation-webui/commit/498fec2c7c7df376007f264261acfcfcb76168ea fixed the issue for me.
Thank your for prompt response and fix ๐
Describe the bug
Ever since version v1.11 I've had an issue where the UI tried to save a folder that exceeded the filename limit of my OS.
My guess is that this bug could be have been introduced with the optimization of the UI. But that's just a guess, my understanding of python is pretty depressing.
I've finally narrowed down the cause of that error and it appears to be caused by the character selector not remembering what character it's on when you click save. It will instead try to load a character who has the name of the YAML content in the drop down.
This isn't the biggest issue as the character is still saved and the settings are still loaded in. The problem occurs when you chat with the character as the character's name is no longer used under logs/chat but instead something like
"[{'choices': ['Assistant', 'Example', 'Thomas'], 'value': 'Thomas', '__type__': 'update'}]"
I hope my attempt at explaining all this makes sense. Otherwise I'd happily try to clarify.
Is there an existing issue for this?
Reproduction
Screenshot
Saving the character:
The menu goes blank, though everything (context, greeting, name, etc. is still loaded):
The chat is also still there:
But if you delete the chat or a message in the chat it will create a folder with the YAML content like the one below: This folder can quickly exceed the filename limit or not work at all because of illegal characters. My filesystem is just psychotic enough to let me use YAML as a filename ๐
Logs
System Info