Bug in prompt
#1316
Replies: 1 comment
-
Closing this as a duplicate |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this simple prompt.
That renders the chat like below
I enter some text and press enter
I open "gd" and see both the first user message "hi" and "Nothing" combined as the new message and sent to LLM.
This is occuring due to
self.header_line
being 1 on Chat:new() even when the last user header is way below, leading tots_parse_message
to capture all the user sections and combining them.I think we need to update header_line on Chat:new() (ui:render()) along with the current Chat:done() and Chat:submit(). I couldn't find an simple way to handle this.
@olimorris Do you have any quick fix for this?
Beta Was this translation helpful? Give feedback.
All reactions