PygmalionAI / gradio-ui

Prototype UI for chatting with the Pygmalion models.
GNU Affero General Public License v3.0
227 stars 67 forks source link

Message parsing code silently drops the last message #1

Closed 0x000011b closed 1 year ago

0x000011b commented 1 year ago

https://github.com/PygmalionAI/gradio-ui/blob/6391ea156bf9ed78865600c0c29c09232685dad5/src/parsing.py#L27

Opening this issue as a TODO. Current side-effect is that this bug makes it so that when the user writes an example chat for the character, the last message is silently dropped when constructing the input prompt.

0x000011b commented 1 year ago

Fixed by #32.