Closed Dorumin closed 3 months ago
The chat and adventure mode PrePrompt checkboxes seem inverted; they're in the wrong sections.
Adventure is bound to chat_context_mod: https://github.com/LostRuins/lite.koboldai.net/blob/3ec45673ed2dc7ad19f5fdc967e843cf8c3b03e0/index.html#L15350
chat_context_mod
Chat is bound to adventure_context_mod: https://github.com/LostRuins/lite.koboldai.net/blob/3ec45673ed2dc7ad19f5fdc967e843cf8c3b03e0/index.html#L15338
adventure_context_mod
Also, the injected context for chat mode also seems to mess up when you try to impersonate yourself.
It uses co: https://github.com/LostRuins/lite.koboldai.net/blob/3ec45673ed2dc7ad19f5fdc967e843cf8c3b03e0/index.html#L10288
co
Which is overwritten when you're impersonating yourself (for convenience, I guess, and not have to check the boolean on lots of places): https://github.com/LostRuins/lite.koboldai.net/blob/3ec45673ed2dc7ad19f5fdc967e843cf8c3b03e0/index.html#L10242
Changing co to localsettings.chatopponent should be good enough to fix it, I think
localsettings.chatopponent
fixed, live in lite
Looks fixed to me, rad. Closing
The chat and adventure mode PrePrompt checkboxes seem inverted; they're in the wrong sections.
Adventure is bound to
chat_context_mod
: https://github.com/LostRuins/lite.koboldai.net/blob/3ec45673ed2dc7ad19f5fdc967e843cf8c3b03e0/index.html#L15350Chat is bound to
adventure_context_mod
: https://github.com/LostRuins/lite.koboldai.net/blob/3ec45673ed2dc7ad19f5fdc967e843cf8c3b03e0/index.html#L15338Also, the injected context for chat mode also seems to mess up when you try to impersonate yourself.
It uses
co
: https://github.com/LostRuins/lite.koboldai.net/blob/3ec45673ed2dc7ad19f5fdc967e843cf8c3b03e0/index.html#L10288Which is overwritten when you're impersonating yourself (for convenience, I guess, and not have to check the boolean on lots of places): https://github.com/LostRuins/lite.koboldai.net/blob/3ec45673ed2dc7ad19f5fdc967e843cf8c3b03e0/index.html#L10242
Changing
co
tolocalsettings.chatopponent
should be good enough to fix it, I think