-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leading space in output is not trimmed #66
Comments
Just tested the chat and this also contain the leading space. It's not only the "prompt select generate". |
this also seems to be causing #67 |
Caused by janhq/jan#2548 |
v2.1.0 The editor and chat responses are now trimmed. Let me know if you still run into this issue, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As the title says, when executing a piece of text as a prompt the generated output is pasted in with a leading space.
This is a small issue if the output is text, but if the output is a (markdown) table this is not rendered correctly.
EDIT: After some investigation I found it's actually the LLM inference solution I'm using that's starting its responses with a space.
Still might be a good idea to trim leading spaces. Especially when output is used in titles which becomes file names.
The text was updated successfully, but these errors were encountered: